From: Franz Sirl Date: Mon, 9 Feb 1998 22:13:19 +0000 (-0700) Subject: * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. X-Git-Tag: prereleases/egcs-1.0.2-prerelease~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f38a83c301b00e5b5e77f0833d4d71eaef3b26;p=thirdparty%2Fgcc.git * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. From-SVN: r17817 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f3e53fc6108..a9fd711ce752 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 9 23:15:14 1998 Franz Sirl + + * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. + Mon Feb 9 23:08:56 1998 Richard Henderson * i386.md (push): Prohibit symbolic constants if flag_pic. diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 0632dce36557..568e7345318b 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} \