aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>1998-01-13 14:21:05 -0700
committerJeff Law <law@gcc.gnu.org>1998-01-13 14:21:05 -0700
commit88ea0ad1b24059496d29c55a19b02295dfb85d3a (patch)
tree5fa9a08cedcd8a31309b0f52522b3b6e8a3172d8 /gcc
parentf5e869593aca358a4f7bf3100477c906b684d17c (diff)
downloadgcc-88ea0ad1b24059496d29c55a19b02295dfb85d3a.zip
gcc-88ea0ad1b24059496d29c55a19b02295dfb85d3a.tar.gz
gcc-88ea0ad1b24059496d29c55a19b02295dfb85d3a.tar.bz2
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
From-SVN: r17345
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/linux.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 506d145..1a27f2f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 10474e4..dfcaf1f 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -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} \