aboutsummaryrefslogtreecommitdiff
path: root/gas
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
commitc2059446380ed39ede4bb55ad2dbdb8cfb9df5dd (patch)
tree77ec8d9933de2f0daee807db46a2547b7ad8abef /gas
parent6e9d894a7ff2006af47da900becea68ef46ea629 (diff)
downloadgdb-c2059446380ed39ede4bb55ad2dbdb8cfb9df5dd.zip
gdb-c2059446380ed39ede4bb55ad2dbdb8cfb9df5dd.tar.gz
gdb-c2059446380ed39ede4bb55ad2dbdb8cfb9df5dd.tar.bz2
Revert -f change
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/as.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6563dff..a4e07d3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-05 Nick Clifton <nickc@redhat.com>
+
+ * as.c (parse_args): Revert patch to change handling of -f
+ option. Its behaviour is mandated by the POSIX 2 spec.
+
2003-10-04 Christian Groessler <chris@groessler.org>
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
diff --git a/gas/as.c b/gas/as.c
index 5a5f823..8b27316 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. */