This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: G* in rs6000/linux.h(LINK_SPEC)
- To: law at cygnus dot com
- Subject: Re: G* in rs6000/linux.h(LINK_SPEC)
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Fri, 14 Aug 1998 22:24:47 +0200
- Cc: egcs-patches at cygnus dot com
- References: <16162.903080603@hurl.cygnus.com>
Am Fri, 14 Aug 1998 schrieb Jeffrey A Law:
>In message <199808101043.DAA06460@cygnus.com>you write:
> > I have another minor patch for rs6000/linux.h, CPP_OS_DEFAULT is not set to
> > "%{cpp_os_linux}", producing a slightly inconsistent specs file (with no
> > known effects). Would this one still be accepted for 1.1? Otherwise I will
> > send it in after the release.
>Go ahead and send it please.
Ok, here it is:
Fri Aug 14 22:29:00 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000/linux.h: define CPP_OS_DEFAULT_SPEC to produce
a consistent specs file
Index: linux.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/rs6000/linux.h,v
retrieving revision 1.9.2.1
diff -u -p -r1.9.2.1 linux.h
--- linux.h 1998/08/14 00:42:36 1.9.2.1
+++ linux.h 1998/08/14 20:15:46
@@ -25,6 +25,9 @@ the Free Software Foundation, 675 Mass A
#define CPP_PREDEFINES \
"-DPPC -D__ELF__ -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux) -Acpu(powerpc) -Amachine(powerpc)"
+#undef CPP_OS_DEFAULT_SPEC
+#define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"
+
#undef LINK_SPEC
#define LINK_SPEC "-m elf32ppc %{G*} %{shared:-shared} \
%{!shared: \