buildtools/binutils/ld/emulparams/extern_protected_data.sh

14 lines
522 B
Bash
Raw Normal View History

2016-10-10 16:55:00 +02:00
PARSE_AND_LIST_OPTIONS_NOEXTEN_PROTECTED_DATA='
2016-02-10 18:58:24 +01:00
fprintf (file, _("\
-z noextern-protected-data Do not treat protected data symbol as external\n"));
'
2016-10-10 16:55:00 +02:00
PARSE_AND_LIST_ARGS_CASE_Z_NOEXTEN_PROTECTED_DATA='
2016-02-10 18:58:24 +01:00
else if (strcmp (optarg, "noextern-protected-data") == 0)
link_info.extern_protected_data = FALSE;
'
2016-10-10 16:55:00 +02:00
PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_NOEXTEN_PROTECTED_DATA"
PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_NOEXTEN_PROTECTED_DATA"