aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2016-06-30 11:14:41 +0100
committerNick Clifton <nickc@redhat.com>2016-06-30 11:14:41 +0100
commit9004b6bd58b6203cb3d1de1ca8d6ce6fc140ae61 (patch)
treeda644cf9f56a80d9480c1bf94c67f2017ee5cd97 /gas/as.c
parent534dbe460e692a9befd9aca0eb0812db47459a30 (diff)
downloadgdb-9004b6bd58b6203cb3d1de1ca8d6ce6fc140ae61.zip
gdb-9004b6bd58b6203cb3d1de1ca8d6ce6fc140ae61.tar.gz
gdb-9004b6bd58b6203cb3d1de1ca8d6ce6fc140ae61.tar.bz2
Allow ARC target to be configured with --with-cpu=<cpu-name>.
gas * config.in (TARGET_WITH_CPU): Undefine. * configure.ac: Add --with-cpu support, and define in config.h. * configure: Regenerate. * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU. * NEWS: Mention new configure option.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index 8784fb4..6ccf167 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -665,8 +665,14 @@ parse_args (int * pargc, char *** pargv)
This program is free software; you may redistribute it under the terms of\n\
the GNU General Public License version 3 or later.\n\
This program has absolutely no warranty.\n"));
+#ifdef TARGET_WITH_CPU
+ printf (_("This assembler was configured for a target of `%s' "
+ "and default,\ncpu type `%s'.\n"),
+ TARGET_ALIAS, TARGET_WITH_CPU);
+#else
printf (_("This assembler was configured for a target of `%s'.\n"),
TARGET_ALIAS);
+#endif
exit (EXIT_SUCCESS);
case OPTION_EMULATION: