From: Richard Kenner Date: Wed, 2 Jul 1997 11:02:40 +0000 (-0400) Subject: (LINK_SPEC): Defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7affc5753e2433b4f7057522b8d320294678ff74;p=gcc.git (LINK_SPEC): Defined. From-SVN: r14378 --- diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 7540f62dd6b..2483f41ccc6 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 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Michael Meissner (meissner@cygnus.com). This file is part of GNU CC. @@ -25,9 +25,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define CPP_PREDEFINES \ "-DPPC -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux) -Acpu(powerpc) -Amachine(powerpc)" -/* For now, remove most of the System V.4 stuff */ #undef LINK_SPEC -#define LINK_SPEC "" +#define LINK_SPEC "-m elf32ppc %{shared:-shared} \ + %{!shared: \ + %{!static: %{rdynamic:-export-dynamic}} \ + %{static:-static}}" #undef LIB_DEFAULT_SPEC #define LIB_DEFAULT_SPEC "%(lib_linux)"