diff options
author | Nick Clifton <nickc@redhat.com> | 2001-05-22 14:00:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-05-22 14:00:18 +0000 |
commit | 506eee2253b69d1cd98c00212a57e572a74945ec (patch) | |
tree | 63b9dedd38f0f8c731faa4b9c6305f693490cc08 /ld/lexsup.c | |
parent | 2d0441d9628b8196f726082b03c663000a491623 (diff) | |
download | gdb-506eee2253b69d1cd98c00212a57e572a74945ec.zip gdb-506eee2253b69d1cd98c00212a57e572a74945ec.tar.gz gdb-506eee2253b69d1cd98c00212a57e572a74945ec.tar.bz2 |
Improve Solaris compatability
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r-- | ld/lexsup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c index 30e1665..5a17985 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -201,6 +201,8 @@ static const struct ld_option ld_options[] = TWO_DASHES }, { {"soname", required_argument, NULL, OPTION_SONAME}, 'h', N_("FILENAME"), N_("Set internal name of shared library"), ONE_DASH }, + { {"dynamic-linker", required_argument, NULL, OPTION_DYNAMIC_LINKER}, + 'I', N_("PROGRAM"), N_("Set the dynamic linker to use"), TWO_DASHES }, { {"library", required_argument, NULL, 'l'}, 'l', N_("LIBNAME"), N_("Search for library LIBNAME"), TWO_DASHES }, { {"library-path", required_argument, NULL, 'L'}, @@ -290,8 +292,6 @@ static const struct ld_option ld_options[] = '\0', N_("SYMBOL=EXPRESSION"), N_("Define a symbol"), TWO_DASHES }, { {"demangle", optional_argument, NULL, OPTION_DEMANGLE}, '\0', N_("[=STYLE]"), N_("Demangle symbol names [using STYLE]"), TWO_DASHES }, - { {"dynamic-linker", required_argument, NULL, OPTION_DYNAMIC_LINKER}, - '\0', N_("PROGRAM"), N_("Set the dynamic linker to use"), TWO_DASHES }, { {"embedded-relocs", no_argument, NULL, OPTION_EMBEDDED_RELOCS}, '\0', NULL, N_("Generate embedded relocs"), TWO_DASHES}, { {"fini", required_argument, NULL, OPTION_FINI}, @@ -651,6 +651,7 @@ parse_args (argc, argv) cplus_demangle_set_style (style); } break; + case 'I': /* Used on Solaris. */ case OPTION_DYNAMIC_LINKER: command_line.interpreter = optarg; break; |