From: Martin Michlmayr Date: Sun, 20 May 2007 11:18:27 +0000 (+0000) Subject: re PR target/32007 (bootstrap broken on ARM v3) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dde27bba7d11284185d1d0e97bf7dc0d302246dc;p=platform%2Fupstream%2Fgcc.git re PR target/32007 (bootstrap broken on ARM v3) 2007-04-20 Martin Michlmayr PR target/32007 * config/arm/lib1funcs.asm: Define __ARM_ARCH__ on v2/v3 machines. From-SVN: r124871 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d922119..c7c6875 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-20 Martin Michlmayr + + PR target/32007 + * config/arm/lib1funcs.asm: Define __ARM_ARCH__ on v2/v3 machines. + 2006-05-20 Manuel Lopez-Ibanez PR middle-end/7651 diff --git a/gcc/config/arm/lib1funcs.asm b/gcc/config/arm/lib1funcs.asm index 3dce237..4cc6b60 100644 --- a/gcc/config/arm/lib1funcs.asm +++ b/gcc/config/arm/lib1funcs.asm @@ -69,6 +69,14 @@ Boston, MA 02110-1301, USA. */ /* Function end macros. Variants for interworking. */ +#if defined(__ARM_ARCH_2__) +# define __ARM_ARCH__ 2 +#endif + +#if defined(__ARM_ARCH_3__) +# define __ARM_ARCH__ 3 +#endif + #if defined(__ARM_ARCH_3M__) || defined(__ARM_ARCH_4__) \ || defined(__ARM_ARCH_4T__) /* We use __ARM_ARCH__ set to 4 here, but in reality it's any processor with