[llvm-commits] [126900] When -mthumb is used, we must emit the triple thumb-linux-gnueabi or thumb-apple-darwin ( committed for Lauro).

echeng at apple.com echeng at apple.com
Fri May 4 16:57:27 PDT 2007


Revision: 126900
Author:   echeng
Date:     2007-05-04 16:57:27 -0700 (Fri, 04 May 2007)

Log Message:
-----------
When -mthumb is used, we must emit the triple thumb-linux-gnueabi or thumb-apple-darwin (committed for Lauro).

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/config/arm/arm.h

Modified: apple-local/branches/llvm/gcc/config/arm/arm.h
===================================================================
--- apple-local/branches/llvm/gcc/config/arm/arm.h	2007-05-04 23:10:12 UTC (rev 126899)
+++ apple-local/branches/llvm/gcc/config/arm/arm.h	2007-05-04 23:57:27 UTC (rev 126900)
@@ -2920,4 +2920,7 @@
     } \
   }
 
+#define LLVM_OVERRIDE_TARGET_ARCH() \
+  (TARGET_THUMB ? "thumb" : "arm")
+
 #endif /* ! GCC_ARM_H */





More information about the llvm-commits mailing list