lib1funcs.asm: Error if __ARM_ARCH__ not set.

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
This commit is contained in:
Paul Brook 2005-08-12 13:18:36 +00:00 committed by Paul Brook
parent f83a336ddb
commit 3c60bed51c
2 changed files with 8 additions and 0 deletions

View 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.

View 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__)