summaryrefslogtreecommitdiffstats
path: root/binutils-2.24
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-07-22 16:42:42 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2015-03-30 11:30:25 -0700
commit73d1c068846c1b31ce357329f2cf73bdb36ae646 (patch)
treed7f4f1ea4b2b1eae4483542e0db52b042ef34497 /binutils-2.24
parent4f16de34c2f531495992afc6ecaab46391b59ff8 (diff)
downloadtoolchain_binutils-73d1c068846c1b31ce357329f2cf73bdb36ae646.zip
toolchain_binutils-73d1c068846c1b31ce357329f2cf73bdb36ae646.tar.gz
toolchain_binutils-73d1c068846c1b31ce357329f2cf73bdb36ae646.tar.bz2
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
Diffstat (limited to 'binutils-2.24')
-rw-r--r--binutils-2.24/gas/as.c7
1 files changed, 7 insertions, 0 deletions
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;