ld: don't generate base relocations in PE output for absolute symbols
[deliverable/binutils-gdb.git] / ld / emulparams / dynamic_undefined_weak.sh
index 82d88d6c8de98db4a58a7759fe7fda171b71cc1b..a20bbd409a603130806a808059501b4210a47146 100644 (file)
@@ -1,12 +1,15 @@
-PARSE_AND_LIST_OPTIONS_NODYNAMIC_UNDEFINED_WEAK='
+PARSE_AND_LIST_OPTIONS_DYNAMIC_UNDEFINED_WEAK='
   fprintf (file, _("\
-  -z nodynamic-undefined-weak Do not treat undefined weak symbol as dynamic\n"));
+  -z dynamic-undefined-weak   Make undefined weak symbols dynamic\n\
+  -z nodynamic-undefined-weak Do not make undefined weak symbols dynamic\n"));
 '
 
-PARSE_AND_LIST_ARGS_CASE_Z_NODYNAMIC_UNDEFINED_WEAK='
+PARSE_AND_LIST_ARGS_CASE_Z_DYNAMIC_UNDEFINED_WEAK='
+      else if (strcmp (optarg, "dynamic-undefined-weak") == 0)
+       link_info.dynamic_undefined_weak = TRUE;
       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_NODYNAMIC_UNDEFINED_WEAK"
-PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_NODYNAMIC_UNDEFINED_WEAK"
+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"
This page took 0.028534 seconds and 4 git commands to generate.