diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-06-30 11:14:41 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-06-30 11:14:41 +0100 |
commit | 9004b6bd58b6203cb3d1de1ca8d6ce6fc140ae61 (patch) | |
tree | da644cf9f56a80d9480c1bf94c67f2017ee5cd97 /gas/as.c | |
parent | 534dbe460e692a9befd9aca0eb0812db47459a30 (diff) | |
download | gdb-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: |