summaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-10-05 08:58:01 +0000
committerNick Clifton <nickc@redhat.com>2003-10-05 08:58:01 +0000
commit8ddb6ee70f1d01cd7d95f71b0ac29a8a08ff8b12 (patch)
tree98b1ab54baaeebf920d0f6b1a4198e5dbf0eec8e /gas/as.c
parent0df16eac6813210fca8d571b6c10e63ea804d995 (diff)
downloadbinutils-redhat-8ddb6ee70f1d01cd7d95f71b0ac29a8a08ff8b12.tar.gz
Revert -f change
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gas/as.c b/gas/as.c
index 5a5f823c7a..8b27316d8b 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -371,7 +371,7 @@ parse_args (int * pargc, char *** pargv)
/* -K is not meaningful if .word is not being hacked. */
'K',
#endif
- 'L', 'M', 'R', 'W', 'Z', 'a', ':', ':', 'D', 'I', ':', 'o', ':',
+ 'L', 'M', 'R', 'W', 'Z', 'a', ':', ':', 'D', 'f', 'I', ':', 'o', ':',
#ifndef VMS
/* -v takes an argument on VMS, so we don't make it a generic
option. */
@@ -452,13 +452,6 @@ parse_args (int * pargc, char *** pargv)
{"execstack", no_argument, NULL, OPTION_EXECSTACK},
{"noexecstack", no_argument, NULL, OPTION_NOEXECSTACK},
#endif
- /* Treat '-f' as a long switch so that getopt will not accept
- -f<some-text> as a synonym for -f. This can cause confusion
- when -f switches are passed through from the compiler.
- FIXME - should we handle other single character switches in the
- same way ? */
- {"f", no_argument, NULL, 'f'},
- {"fatal-warnings", no_argument, NULL, OPTION_WARN_FATAL},
{"fatal-warnings", no_argument, NULL, OPTION_WARN_FATAL}
/* When you add options here, check that they do not collide with
OPTION_MD_BASE. See as.h. */