summaryrefslogtreecommitdiff
path: root/lang/gcc30/files/patch-af
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-03-17 00:40:26 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-03-17 00:40:26 +0000
commitb4f4cda51d6a9f1b773fd039f0425fea41d23c3b (patch)
tree1ad42beaf5e27e3703040d06e9eb75da47ea729d /lang/gcc30/files/patch-af
parentNew port py-gnome created from repository copy of py-gtk. (diff)
Upgrade to 1.1.2 release.
Notes
Notes: svn path=/head/; revision=17256
Diffstat (limited to 'lang/gcc30/files/patch-af')
-rw-r--r--lang/gcc30/files/patch-af27
1 files changed, 6 insertions, 21 deletions
diff --git a/lang/gcc30/files/patch-af b/lang/gcc30/files/patch-af
index e9d23249070c..c50ce06c8375 100644
--- a/lang/gcc30/files/patch-af
+++ b/lang/gcc30/files/patch-af
@@ -1,21 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
-+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
-@@ -26,8 +26,13 @@
-
- /* The svr4 ABI for the i386 says that records and unions are returned
- in memory. */
-+/* On FreeBSD, we do not. */
- #undef DEFAULT_PCC_STRUCT_RETURN
--#define DEFAULT_PCC_STRUCT_RETURN 1
-+#define DEFAULT_PCC_STRUCT_RETURN 0
-+
-+/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using
-+ libraries compiled with the native cc, so undef it. */
-+#undef NO_DOLLAR_IN_LABEL
-
- /* This is how to output an element of a case-vector that is relative.
- This is only used for PIC code. See comments by the `casesi' insn in
-@@ -108,22 +113,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Mar 1 14:47:32 1999
++++ gcc/config/i386/freebsd.h Sat Mar 13 19:25:53 1999
+@@ -113,22 +113,19 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -42,7 +27,7 @@
} \
}
-@@ -146,20 +148,8 @@
+@@ -151,20 +148,8 @@
#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
#undef LIB_SPEC
@@ -51,11 +36,11 @@
- * want to profile or debug the C library, please add
- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
- */
--#define LIB_SPEC \
+ #define LIB_SPEC \
- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
- %{!ggdb:-lc} %{ggdb:-lg}}"
-#else
- #define LIB_SPEC \
+-#define LIB_SPEC \
- "%{!shared: \
- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"