]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Namespace fixes for arm/linux
authorBernd Schmidt <bernds@redhat.co.uk>
Fri, 29 Dec 2000 16:08:46 +0000 (16:08 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 29 Dec 2000 16:08:46 +0000 (16:08 +0000)
From-SVN: r38541

gcc/ChangeLog
gcc/config/arm/linux-elf.h

index 0f6b231c73ec3afa21ed5fe1639907fbac78fbb0..b3b390d3687decbd540d7295b735ecb41a235632 100644 (file)
        the insn lengths in the templates for sign extention and zero
        extention.
 
+       2000-12-23  Philip Blundell  <philb@gnu.org>
+       * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `arm' or
+       `arm_elf'; do define `__arm__'.
+
 2000-12-22  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * calls.c (emit_call_1): Fall back to call_pop/call_value_pop if no
index 705c963c6477f64300306ab61a723cf588c33eef..41bafef33269bfef424c33981d06c7361cf3ccc7 100644 (file)
@@ -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__"