lib1funcs.asm: Error if __ARM_ARCH__ not set.
authorPaul Brook <paul@codesourcery.com>
Fri, 12 Aug 2005 13:18:36 +0000 (13:18 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Fri, 12 Aug 2005 13:18:36 +0000 (13:18 +0000)
2005-08-12  Paul Brook  <paul@codesourcery.com>

* config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.

[[Split portion of a mixed commit.]]

From-SVN: r103029.2

gcc/ChangeLog
gcc/config/arm/lib1funcs.asm

index 9b8cf8a3cf685e03aa5d94b07cb8a68a59c2cd8c..adcbd058c5e09a54b28a6ae1bb6f55925b4c2fc0 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-12  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.
+
 2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config/s390/predicates.md (setmem_operand): New predicate.
index 3c6c1fe047f7f5eb9ddb9eaa2b348b372ac1cb28..952eb562a92c96d9f789582127868165fd4649ea 100644 (file)
@@ -87,6 +87,10 @@ Boston, MA 02110-1301, USA.  */
 # define __ARM_ARCH__ 6
 #endif
 
+#ifndef __ARM_ARCH__
+#error Unable to determine architecture.
+#endif
+
 /* How to return from a function call depends on the architecture variant.  */
 
 #if (__ARM_ARCH__ > 4) || defined(__ARM_ARCH_4T__)