From 2a096f0438fe97990dc7fcfa2638ded16fcc526c Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 15 Jun 2001 13:02:23 +0000 Subject: [PATCH] * lexsup.c (parse_args) : Set new link_info member export_dynamic. * ldmain.c (main): Initialize new link_info member export_dynamic. --- ld/ChangeLog | 6 ++++++ ld/ldmain.c | 1 + ld/lexsup.c | 1 + 3 files changed, 8 insertions(+) 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); -- 2.30.2