From: Bernd Schmidt Date: Fri, 29 Dec 2000 16:08:46 +0000 (+0000) Subject: Namespace fixes for arm/linux X-Git-Tag: prereleases/gcc-2.95.3-test1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d21a4f7fb32bd3e0a66778f680d6535bff5d164b;p=thirdparty%2Fgcc.git Namespace fixes for arm/linux From-SVN: r38541 --- 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__"