summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-11-25 19:00:04 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-11-25 19:00:04 +0000
commitaee1245fcae45caed3be8444cb6c0688165a057c (patch)
tree7e31934f8ee883eb1c01bc96a1f02fd0d87dd559 /lang
parentRather than try to duplicate the declarations from stdio.h, just use them! (diff)
Don't specify an emulation in the link spec. Just use the 'ld' default.
The proper emulation is different between RELENG_4 and 5-CURRENT.
Notes
Notes: svn path=/head/; revision=71091
Diffstat (limited to 'lang')
-rw-r--r--lang/egcs/files/patch-af11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/egcs/files/patch-af b/lang/egcs/files/patch-af
index debdbc72846a..218e9ab34c21 100644
--- a/lang/egcs/files/patch-af
+++ b/lang/egcs/files/patch-af
@@ -1,5 +1,5 @@
--- gcc/config/i386/freebsd.h.orig Mon Mar 1 14:47:32 1999
-+++ gcc/config/i386/freebsd.h Mon Dec 4 14:03:42 2000
++++ gcc/config/i386/freebsd.h Sun Nov 24 22:38:28 2002
@@ -24,16 +24,6 @@
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
@@ -76,3 +76,12 @@
/* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
for the special GCC options -static and -shared, which allow us to
+@@ -181,7 +158,7 @@
+ done. */
+
+ #undef LINK_SPEC
+-#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
++#define LINK_SPEC "%{shared:-shared} \
+ %{!shared: \
+ %{!ibcs: \
+ %{!static: \