don't hardcode the default linker emulation type.

This commit is contained in:
brad 2003-07-24 13:43:44 +00:00
parent c516389304
commit e6561f7229

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gcc_config_rs6000_openbsd_h,v 1.2 2002/05/29 23:00:27 espie Exp $
--- gcc/config/rs6000/openbsd.h.orig Wed May 29 17:36:46 2002
+++ gcc/config/rs6000/openbsd.h Thu May 30 00:57:02 2002
$OpenBSD: patch-gcc_config_rs6000_openbsd_h,v 1.3 2003/07/24 13:43:44 brad Exp $
--- gcc/config/rs6000/openbsd.h.orig Sun Jul 20 02:12:17 2003
+++ gcc/config/rs6000/openbsd.h Sun Jul 20 02:15:24 2003
@@ -0,0 +1,83 @@
+/* Configuration file for an rs6000 OpenBSD target.
+ Copyright (C) 1999 Free Software Foundation, Inc.
@ -35,7 +35,7 @@ $OpenBSD: patch-gcc_config_rs6000_openbsd_h,v 1.2 2002/05/29 23:00:27 espie Exp
+#define LINKER_NAME "ld"
+
+#undef LINK_SPEC
+#define LINK_SPEC "-m elf32ppc %{shared:-shared} \
+#define LINK_SPEC "%{shared:-shared} \
+ %{!shared: \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \