aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-01-01 00:46:11 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-01-01 00:46:11 +0000
commit86bcefed82fad114f7568be3c3066a11cda855c1 (patch)
tree5546304792a2957879d754c28acec334080df04b
parent8e14ffb61cc3dec8f77ae39afb995453e6c64093 (diff)
downloadports-86bcefed82fad114f7568be3c3066a11cda855c1.tar.gz
ports-86bcefed82fad114f7568be3c3066a11cda855c1.zip
Actually all that needed to be done in this file to fix for 5-CURRENT
is to remove the explicit "-m elf_i386" and use the default emulation.
Notes
Notes: svn path=/head/; revision=72001
-rw-r--r--lang/gcc295/files/patch-af32
1 files changed, 6 insertions, 26 deletions
diff --git a/lang/gcc295/files/patch-af b/lang/gcc295/files/patch-af
index 18cc56afca13..d940ca8480a0 100644
--- a/lang/gcc295/files/patch-af
+++ b/lang/gcc295/files/patch-af
@@ -1,5 +1,5 @@
---- gcc/config/i386/freebsd.h.orig Mon Dec 18 15:05:58 2000
-+++ gcc/config/i386/freebsd.h Sun Dec 22 23:08:15 2002
+--- gcc/config/i386/freebsd.h.orig Mon Dec 18 06:05:58 2000
++++ gcc/config/i386/freebsd.h Tue Dec 31 16:42:34 2002
@@ -35,9 +35,9 @@
libraries compiled with the native cc, so undef it. */
#undef NO_DOLLAR_IN_LABEL
@@ -93,32 +93,12 @@
/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
libc, depending on whether we're doing profiling or need threads support.
-@@ -230,6 +242,20 @@
+@@ -230,7 +242,7 @@
done. */
#undef LINK_SPEC
-+#include <osreldate.h>
-+#if __FreeBSD_version >= 500042
-+#define LINK_SPEC "-m elf_i386_fbsd \
-+ %{Wl,*:%*} \
-+ %{v:-V} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{!shared: \
-+ %{!static: \
-+ %{rdynamic:-export-dynamic} \
-+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-+ %{static:-Bstatic}} \
-+ %{symbolic:-Bsymbolic}"
-+#else
- #define LINK_SPEC "-m elf_i386 \
+-#define LINK_SPEC "-m elf_i386 \
++#define LINK_SPEC "\
%{Wl,*:%*} \
%{v:-V} \
-@@ -241,6 +267,7 @@
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
- %{static:-Bstatic}} \
- %{symbolic:-Bsymbolic}"
-+#endif
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
+ %{assert*} %{R*} %{rpath*} %{defsym*} \