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
This commit is contained in:
Terry Guo 2014-04-23 08:59:07 +00:00 committed by Xuepeng Guo
parent 62ba699e01
commit 6a9accca8f
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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