* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Tue, 13 Jan 1998 21:21:05 +0000 (14:21 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Jan 1998 21:21:05 +0000 (14:21 -0700)
From-SVN: r17345

gcc/ChangeLog
gcc/config/rs6000/linux.h

index 506d145..1a27f2f 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
+
+       * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
+
 Tue Jan 13 22:14:57 1998  Klaus Kaempf <kkaempf@progis.de>
 
        * alpha/vms.h (DIR_SEPARATOR): define
index 10474e4..dfcaf1f 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler,
    for IBM RS/6000 running AIX version 3.1.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    Contributed by Michael Meissner (meissner@cygnus.com).
 
 This file is part of GNU CC.
@@ -23,7 +23,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES \
- "-DPPC -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux) -Acpu(powerpc) -Amachine(powerpc)"
+ "-DPPC -D__ELF__ -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux) -Acpu(powerpc) -Amachine(powerpc)"
 
 #undef LINK_SPEC
 #define LINK_SPEC "-m elf32ppc %{shared:-shared} \