* lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,

for HP/UX compatibility.
This commit is contained in:
Ian Lance Taylor 1996-04-08 15:57:57 +00:00
parent ce0787ef68
commit 90ba7e6508
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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':