From: Ian Lance Taylor Date: Mon, 8 Apr 1996 15:57:57 +0000 (+0000) Subject: * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90ba7e65085d3619720c74fc8773a29b3ba2564e;p=binutils-gdb.git * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, for HP/UX compatibility. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 3a08e5d8605..3825590ef1b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 8 11:56:23 1996 Ian Lance Taylor + + * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, + for HP/UX compatibility. + Fri Apr 5 14:30:14 1996 Ian Lance Taylor * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New diff --git a/ld/lexsup.c b/ld/lexsup.c index b9b34c3d772..7e6184cd516 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -65,7 +65,7 @@ parse_args (argc, argv) as if it were the argument of an option with character code 1. */ const char *shortopts = - "-a:A:b:c:de:F::G:gh:iL:l:Mm:NnO:o:R:rSsT:tu:VvXxY:y:z:()"; + "-a:A:b:c:de:EF::G:gh:iL:l:Mm:NnO:o:R:rSsT:tu:VvXxY:y:z:()"; /* 150 isn't special; it's just an arbitrary non-ASCII char value. */ @@ -114,6 +114,7 @@ parse_args (argc, argv) /* Sorted alphabeticaly, except for the PE options grouped at the end. */ {"assert", required_argument, NULL, OPTION_ASSERT}, {"Bdynamic", no_argument, NULL, OPTION_CALL_SHARED}, + {"Bshareable", no_argument, NULL, OPTION_SHARED }, /* FreeBSD. */ {"Bstatic", no_argument, NULL, OPTION_NON_SHARED}, {"Bsymbolic", no_argument, NULL, OPTION_SYMBOLIC}, {"call_shared", no_argument, NULL, OPTION_CALL_SHARED}, @@ -279,6 +280,7 @@ parse_args (argc, argv) command_line.embedded_relocs = true; break; case OPTION_EXPORT_DYNAMIC: + case 'E': /* HP/UX compatibility. */ command_line.export_dynamic = true; break; case 'e':