From: Hans-Peter Nilsson Date: Fri, 15 Jun 2001 13:02:23 +0000 (+0000) Subject: * lexsup.c (parse_args) : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a096f0438fe97990dc7fcfa2638ded16fcc526c;p=binutils-gdb.git * lexsup.c (parse_args) : Set new link_info member export_dynamic. * ldmain.c (main): Initialize new link_info member export_dynamic. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 5acde0014e2..f86b73680c2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2001-06-15 Hans-Peter Nilsson + + * lexsup.c (parse_args) : + Set new link_info member export_dynamic. + * ldmain.c (main): Initialize new link_info member export_dynamic. + 2001-06-12 Nick Clifton * ldlang.c (walk_wild): Only call walk_wild_file if diff --git a/ld/ldmain.c b/ld/ldmain.c index 928aa841023..62d891cc183 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -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; diff --git a/ld/lexsup.c b/ld/lexsup.c index 5a17985578b..125bf73c35e 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -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);