From 73d1c068846c1b31ce357329f2cf73bdb36ae646 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Tue, 22 Jul 2014 16:42:42 +0800 Subject: Fix as to ignore --save-temps mips/gcc4.6 is now built with binutils-2.24 to be consistant with gcc4.8 and gcc4.9 on nan handling. Unfortunately gcc4.6 pass on -save-temps to not recognized by "as". gcc4.6 is normally built with binutils-2.21 which has fix for as to accept but ignore -save-temps. This CL catptures the same fix in binutils-2.21 Change-Id: I58095a67810f2bcf6e7594383002247a9491a901 --- binutils-2.24/gas/as.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'binutils-2.24/gas/as.c') diff --git a/binutils-2.24/gas/as.c b/binutils-2.24/gas/as.c index f198043..74709a8 100644 --- a/binutils-2.24/gas/as.c +++ b/binutils-2.24/gas/as.c @@ -328,6 +328,8 @@ Options:\n\ prefer smaller memory use at the cost of longer\n\ assembly times\n")); fprintf (stream, _("\ + --save-temps ignored\n")); + fprintf (stream, _("\ --statistics print various measured statistics from execution\n")); fprintf (stream, _("\ --strip-local-absolute strip local absolute symbols\n")); @@ -454,6 +456,7 @@ parse_args (int * pargc, char *** pargv) OPTION_HASH_TABLE_SIZE, OPTION_REDUCE_MEMORY_OVERHEADS, OPTION_WARN_FATAL, + OPTION_SAVE_TEMPS, OPTION_COMPRESS_DEBUG, OPTION_NOCOMPRESS_DEBUG /* When you add options here, check that they do @@ -518,6 +521,7 @@ parse_args (int * pargc, char *** pargv) ,{"nocpp", no_argument, NULL, OPTION_NOCPP} ,{"no-warn", no_argument, NULL, 'W'} ,{"reduce-memory-overheads", no_argument, NULL, OPTION_REDUCE_MEMORY_OVERHEADS} + ,{"save-temps", no_argument, NULL, OPTION_SAVE_TEMPS} ,{"statistics", no_argument, NULL, OPTION_STATISTICS} ,{"strip-local-absolute", no_argument, NULL, OPTION_STRIP_LOCAL_ABSOLUTE} ,{"version", no_argument, NULL, OPTION_VERSION} @@ -611,6 +615,9 @@ parse_args (int * pargc, char *** pargv) case OPTION_NOCPP: break; + case OPTION_SAVE_TEMPS: + break; + case OPTION_STATISTICS: flag_print_statistics = 1; break; -- cgit v1.1