forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
committed by
Nick Clifton
parent
534dbe460e
commit
9004b6bd58
6
gas/as.c
6
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:
|
||||
|
||||
Reference in New Issue
Block a user