aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-08 15:57:57 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-08 15:57:57 +0000
commit90ba7e65085d3619720c74fc8773a29b3ba2564e (patch)
treef4114c19dc5f73d6a62c71121437cb116bc13c0d /ld/lexsup.c
parentce0787ef686e0d804fec34a3bc5acd2aaafcbb49 (diff)
downloadgdb-90ba7e65085d3619720c74fc8773a29b3ba2564e.zip
gdb-90ba7e65085d3619720c74fc8773a29b3ba2564e.tar.gz
gdb-90ba7e65085d3619720c74fc8773a29b3ba2564e.tar.bz2
* lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,
for HP/UX compatibility.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c4
1 files changed, 3 insertions, 1 deletions
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':