From 57f38a83c301b00e5b5e77f0833d4d71eaef3b26 Mon Sep 17 00:00:00 2001 From: Franz Sirl Date: Mon, 9 Feb 1998 15:13:19 -0700 Subject: [PATCH] * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__. From-SVN: r17817 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/linux.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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} \ -- 2.47.2