From e4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Tue, 24 May 2011 17:27:46 -0700 Subject: Sync internal and external version. -Fix problem with --save-temps in gas. Change-Id: I9ba2562c7a7444d5f48e1520a4bccc9486cb1a83 --- binutils-2.20.1/gas/as.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'binutils-2.20.1/gas') diff --git a/binutils-2.20.1/gas/as.c b/binutils-2.20.1/gas/as.c index 50463f8..9536ffa 100644 --- a/binutils-2.20.1/gas/as.c +++ b/binutils-2.20.1/gas/as.c @@ -311,6 +311,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")); @@ -434,7 +436,8 @@ parse_args (int * pargc, char *** pargv) OPTION_AL, OPTION_HASH_TABLE_SIZE, OPTION_REDUCE_MEMORY_OVERHEADS, - OPTION_WARN_FATAL + OPTION_WARN_FATAL, + OPTION_SAVE_TEMPS /* When you add options here, check that they do not collide with OPTION_MD_BASE. See as.h. */ }; @@ -493,6 +496,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} @@ -586,6 +590,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