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 */


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to