diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2001-06-15 13:02:23 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2001-06-15 13:02:23 +0000 |
commit | 2a096f0438fe97990dc7fcfa2638ded16fcc526c (patch) | |
tree | fd29b348fc5bbb7718fcb8896ed162b232a14f14 | |
parent | 7be4069c7e337c949c2cefe6f93b411bfb622796 (diff) | |
download | gdb-2a096f0438fe97990dc7fcfa2638ded16fcc526c.zip gdb-2a096f0438fe97990dc7fcfa2638ded16fcc526c.tar.gz gdb-2a096f0438fe97990dc7fcfa2638ded16fcc526c.tar.bz2 |
* 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.
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/ldmain.c | 1 | ||||
-rw-r--r-- | ld/lexsup.c | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 5acde00..f86b736 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/ldmain.c b/ld/ldmain.c index 928aa84..62d891c 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 5a17985..125bf73 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); |