Retro68/binutils/ld/emulparams/dynamic_undefined_weak.sh

16 lines
693 B
Bash
Raw Normal View History

PARSE_AND_LIST_OPTIONS_DYNAMIC_UNDEFINED_WEAK='
2017-04-10 11:32:00 +00:00
fprintf (file, _("\
-z dynamic-undefined-weak Make undefined weak symbols dynamic\n\
-z nodynamic-undefined-weak Do not make undefined weak symbols dynamic\n"));
2017-04-10 11:32:00 +00:00
'
PARSE_AND_LIST_ARGS_CASE_Z_DYNAMIC_UNDEFINED_WEAK='
else if (strcmp (optarg, "dynamic-undefined-weak") == 0)
link_info.dynamic_undefined_weak = TRUE;
2017-04-10 11:32:00 +00:00
else if (strcmp (optarg, "nodynamic-undefined-weak") == 0)
link_info.dynamic_undefined_weak = FALSE;
'
PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_DYNAMIC_UNDEFINED_WEAK"
PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_DYNAMIC_UNDEFINED_WEAK"