aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-06-15 13:02:23 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-06-15 13:02:23 +0000
commit2a096f0438fe97990dc7fcfa2638ded16fcc526c (patch)
treefd29b348fc5bbb7718fcb8896ed162b232a14f14 /ld/lexsup.c
parent7be4069c7e337c949c2cefe6f93b411bfb622796 (diff)
downloadgdb-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.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c1
1 files changed, 1 insertions, 0 deletions
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);