diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-02-22 10:24:56 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-02-22 10:24:56 +0000 |
commit | 8a59fff3dd9f8003c95d89ee2a71d632b130cf8b (patch) | |
tree | 7263e440d54c0ae5eb9818b29e229f6dfd0381ab /gas | |
parent | 2a2b6d42b1a946cfaff8819925cdd15bee44d015 (diff) | |
download | gdb-8a59fff3dd9f8003c95d89ee2a71d632b130cf8b.zip gdb-8a59fff3dd9f8003c95d89ee2a71d632b130cf8b.tar.gz gdb-8a59fff3dd9f8003c95d89ee2a71d632b130cf8b.tar.bz2 |
PR 9861
* gas/config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
compiler's predefines.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 08ce828..bd4acd5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 04b3f70..b3096c5 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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 |