From 6b9dbea8f14b153fbe55071c00918af10fbc5763 Mon Sep 17 00:00:00 2001 From: pbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri, 12 Aug 2005 13:18:36 +0000 Subject: [PATCH] 2005-08-12 Paul Brook <paul@codesourcery.com> * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103029 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/lib1funcs.asm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b8cf8a3cf68..adcbd058c5e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/lib1funcs.asm b/gcc/config/arm/lib1funcs.asm index 3c6c1fe047f7..952eb562a92c 100644 --- a/gcc/config/arm/lib1funcs.asm +++ b/gcc/config/arm/lib1funcs.asm @@ -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__) -- GitLab