diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/lexsup.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 3a08e5d..3825590 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> + + * 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 <ian@cygnus.com> * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New diff --git a/ld/lexsup.c b/ld/lexsup.c index b9b34c3..7e6184c 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': |