diff options
author | Terry Guo <terry.guo@arm.com> | 2014-04-23 08:59:07 +0000 |
---|---|---|
committer | Xuepeng Guo <xguo@gcc.gnu.org> | 2014-04-23 08:59:07 +0000 |
commit | 6a9accca8f7540c3de549965b7816e8958f4c510 (patch) | |
tree | 41a9f90fb9242e9c7f5431457e32e65f723c01c8 /gcc | |
parent | 62ba699e011766b66e7d19d03f59afdda55d90e3 (diff) | |
download | gcc-6a9accca8f7540c3de549965b7816e8958f4c510.zip gcc-6a9accca8f7540c3de549965b7816e8958f4c510.tar.gz gcc-6a9accca8f7540c3de549965b7816e8958f4c510.tar.bz2 |
arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
2014-04-23 Terry Guo <terry.guo@arm.com>
* config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
From-SVN: r209678
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f8200f..0ebe628 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-04-23 Terry Guo <terry.guo@arm.com> + + * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way. + 2014-04-23 Richard Biener <rguenther@suse.de> PR middle-end/60895 diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 597e69c..dafef09 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2141,8 +2141,7 @@ extern int making_const_table; do { cfun->machine->thumb1_cc_insn = NULL_RTX; } while (0) #undef ASM_APP_OFF -#define ASM_APP_OFF (TARGET_THUMB1 ? "\t.code\t16\n" : \ - TARGET_THUMB2 ? "\t.thumb\n" : "") +#define ASM_APP_OFF (TARGET_ARM ? "" : "\t.thumb\n") /* Output a push or a pop instruction (only used when profiling). We can't push STATIC_CHAIN_REGNUM (r12) directly with Thumb-1. We know |