* lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
authorHans-Peter Nilsson <hp@axis.com>
Fri, 15 Jun 2001 13:02:23 +0000 (13:02 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 15 Jun 2001 13:02:23 +0000 (13:02 +0000)
Set new link_info member export_dynamic.
* ldmain.c (main): Initialize new link_info member export_dynamic.

ld/ChangeLog
ld/ldmain.c
ld/lexsup.c

index 5acde0014e2d428adae8700b501b3fd2b12938ae..f86b73680c2693fbd994f346026ab841b3ffb773 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
+       Set new link_info member export_dynamic.
+       * ldmain.c (main): Initialize new link_info member export_dynamic.
+
 2001-06-12  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * ldlang.c (walk_wild): Only call walk_wild_file if
index 928aa8410237c14c4aac015c55fe4817375865ec..62d891cc18324482a1528fc274275dca37feec3d 100644 (file)
@@ -219,6 +219,7 @@ main (argc, argv)
   link_info.emitrelocations = false;
   link_info.shared = false;
   link_info.symbolic = false;
+  link_info.export_dynamic = false;
   link_info.static_link = false;
   link_info.traditional_format = false;
   link_info.optimize = false;
index 5a17985578b0320b403c957356aa1753db0b7919..125bf73c35eb2db0620a27b0fc00acd8fe4d621d 100644 (file)
@@ -667,6 +667,7 @@ parse_args (argc, argv)
        case OPTION_EXPORT_DYNAMIC:
        case 'E': /* HP/UX compatibility.  */
          command_line.export_dynamic = true;
+         link_info.export_dynamic = true;
          break;
        case 'e':
          lang_add_entry (optarg, true);