aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-05-14 22:07:30 +0000
committerNick Clifton <nickc@redhat.com>1998-05-14 22:07:30 +0000
commitf0ba99a67149a79cded7859e9d451f726f13fa99 (patch)
treec318f4d8169ac1227dc3243598cc9f3ea2f6ae69 /ld/lexsup.c
parent7c511326e8ebb36f0e8000851e530528e4ab3605 (diff)
downloadgdb-f0ba99a67149a79cded7859e9d451f726f13fa99.zip
gdb-f0ba99a67149a79cded7859e9d451f726f13fa99.tar.gz
gdb-f0ba99a67149a79cded7859e9d451f726f13fa99.tar.bz2
Added support for display emulation specific command line options.
Added internationalisation to emulation templates. Added --support-old-code command line option to armcoff and pe emulations.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 72537a7..28b7e09 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -399,7 +399,7 @@ parse_args (argc, argv)
/* Because we permit long options to start with a single dash, and
we have a --library option, and the -l option is conventionally
used with an immediately following argument, we can have bad
- results of somebody tries to use -l with a library whose name
+ results if somebody tries to use -l with a library whose name
happens to start with "ibrary", as in -li. We avoid problems by
simply turning -l into --library. This means that users will
have to use two dashes in order to use --library, which is OK
@@ -994,6 +994,7 @@ help ()
}
}
+ /* xgettext:c-format */
printf (_("%s: supported targets:"), program_name);
targets = bfd_target_list ();
for (pp = targets; *pp != NULL; pp++)
@@ -1001,8 +1002,15 @@ help ()
free (targets);
printf ("\n");
+ /* xgettext:c-format */
printf (_("%s: supported emulations: "), program_name);
ldemul_list_emulations (stdout);
printf ("\n");
+
+ /* xgettext:c-format */
+ printf (_("%s: emulation specific options:\n"), program_name);
+ ldemul_list_emulation_options (stdout);
+ printf ("\n");
+
printf (_("\nReport bugs to bug-gnu-utils@gnu.org\n"));
}