From d21a4f7fb32bd3e0a66778f680d6535bff5d164b Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 29 Dec 2000 16:08:46 +0000 Subject: [PATCH] Namespace fixes for arm/linux From-SVN: r38541 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/linux-elf.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f6b231c73ec..b3b390d3687d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -19,6 +19,10 @@ the insn lengths in the templates for sign extention and zero extention. + 2000-12-23 Philip Blundell + * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `arm' or + `arm_elf'; do define `__arm__'. + 2000-12-22 Bernd Schmidt * calls.c (emit_call_1): Fall back to call_pop/call_value_pop if no diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 705c963c6477..41bafef33269 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -103,8 +103,8 @@ Boston, MA 02111-1307, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES \ -"-Dunix -Darm -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(arm) \ --Amachine(arm) -D__ELF__ -Darm_elf" +"-Dunix -D__arm__ -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(arm) \ +-Amachine(arm) -D__ELF__" #ifndef SUBTARGET_DEFAULT_APCS26 #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__" -- 2.47.2