aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-07-02 07:02:40 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-07-02 07:02:40 -0400
commit7affc5753e2433b4f7057522b8d320294678ff74 (patch)
treef0c3091f8219b3870a02908d6d7325d5a7c2ae4c /gcc
parent95fd39815d255dfe8b02ee58fc05677340dd2635 (diff)
downloadgcc-7affc5753e2433b4f7057522b8d320294678ff74.zip
gcc-7affc5753e2433b4f7057522b8d320294678ff74.tar.gz
gcc-7affc5753e2433b4f7057522b8d320294678ff74.tar.bz2
(LINK_SPEC): Defined.
From-SVN: r14378
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/linux.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 7540f62..2483f41 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)"