* gas/config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
	compiler's predefines.
This commit is contained in:
Matthew Gretton-Dann 2010-02-22 10:24:56 +00:00
parent 2a2b6d42b1
commit 8a59fff3dd
2 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
PR 9861
* config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
compiler's predefines.
2010-02-19 Alan Modra <amodra@gmail.com>
* configure.tgt: Whiltespace. Sort moxie entry.

View file

@ -97,13 +97,12 @@ enum arm_float_abi
/* Types of processor to assemble for. */
#ifndef CPU_DEFAULT
#if defined __XSCALE__
#define CPU_DEFAULT ARM_ARCH_XSCALE
#else
#if defined __thumb__
#define CPU_DEFAULT ARM_ARCH_V5T
#endif
#endif
/* The code that was here used to select a default CPU depending on compiler
pre-defines which were only present when doing native builds, thus
changing gas' default behaviour depending upon the build host.
If you have a target that requires a default CPU option then the you
should define CPU_DEFAULT here. */
#endif
#ifndef FPU_DEFAULT