]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
authorTerry Guo <terry.guo@arm.com>
Wed, 23 Apr 2014 08:59:07 +0000 (08:59 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Wed, 23 Apr 2014 08:59:07 +0000 (08:59 +0000)
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

gcc/ChangeLog
gcc/config/arm/arm.h

index 9f8200fcca49c7368b814bb5e08374231fff909b..0ebe628b1d14c08e9850ca59e3dd74c835761d0f 100644 (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
index 597e69c6e039ee7c4fed3c2289d52f27d15002da..dafef09a9db8f34ebd27576b87bed0a5ecb4804a 100644 (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