From: Franz Sirl Date: Tue, 13 Jan 1998 21:21:05 +0000 (-0700) Subject: * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88ea0ad1b24059496d29c55a19b02295dfb85d3a;p=platform%2Fupstream%2Fgcc.git * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. From-SVN: r17345 --- 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 + + * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. + Tue Jan 13 22:14:57 1998 Klaus Kaempf * 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} \