diff options
author | Nick Clifton <nickc@redhat.com> | 2002-12-17 12:02:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-12-17 12:02:41 +0000 |
commit | 9c3b31c63623665c3a87ef9311cde9507b7ac6a6 (patch) | |
tree | cbfeef760b7522b31f3673bdfce5c54e90c4770c /gas/as.c | |
parent | 2a8ac465c4b542038e321e806ae27d301ad1fca5 (diff) | |
download | gdb-9c3b31c63623665c3a87ef9311cde9507b7ac6a6.zip gdb-9c3b31c63623665c3a87ef9311cde9507b7ac6a6.tar.gz gdb-9c3b31c63623665c3a87ef9311cde9507b7ac6a6.tar.bz2 |
Duplicate --keep-locals entry in order to prevent it being confused with -k.
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -378,6 +378,10 @@ parse_args (pargc, pargv) static const struct option std_longopts[] = { #define OPTION_HELP (OPTION_STD_BASE) {"help", no_argument, NULL, OPTION_HELP}, + /* getopt allows abbreviations, so we do this to stop it from + treating -k as an abbreviation for --keep-locals. Some + ports use -k to enable PIC assembly. */ + {"keep-locals", no_argument, NULL, 'L'}, {"keep-locals", no_argument, NULL, 'L'}, {"mri", no_argument, NULL, 'M'}, #define OPTION_NOCPP (OPTION_STD_BASE + 1) |