aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc41/files
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/gcc41/files
parent1a50dacde270204c0579aa5deb9a4045bf52658a (diff)
downloadports-b4f4cda51d6a9f1b773fd039f0425fea41d23c3b.tar.gz
ports-b4f4cda51d6a9f1b773fd039f0425fea41d23c3b.zip
Notes
Diffstat (limited to 'lang/gcc41/files')
-rw-r--r--lang/gcc41/files/patch-ad23
-rw-r--r--lang/gcc41/files/patch-af27
-rw-r--r--lang/gcc41/files/patch-ak25
-rw-r--r--lang/gcc41/files/patch-al26
-rw-r--r--lang/gcc41/files/patch-bc33
5 files changed, 88 insertions, 46 deletions
diff --git a/lang/gcc41/files/patch-ad b/lang/gcc41/files/patch-ad
index 3fa37c95418b..f8fb5803acf0 100644
--- a/lang/gcc41/files/patch-ad
+++ b/lang/gcc41/files/patch-ad
@@ -1,17 +1,6 @@
---- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
-+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
-@@ -89,6 +89,10 @@
- /* Don't default to pcc-struct-return, because gcc is the only compiler, and
- we want to retain compatibility with older gcc versions. */
- #define DEFAULT_PCC_STRUCT_RETURN 0
-+
-+/* Ensure we the configuration knows our system correctly so we can link with
-+ libraries compiled with the native cc. */
-+#undef NO_DOLLAR_IN_LABEL
-
- /* i386 freebsd still uses old binutils that don't insert nops by default
- when the .align directive demands to insert extra space in the text
-@@ -99,19 +103,18 @@
+--- gcc/config/i386/freebsd-aout.h.orig Mon Mar 1 14:47:33 1999
++++ gcc/config/i386/freebsd-aout.h Sat Mar 13 19:24:50 1999
+@@ -103,19 +103,18 @@
/* Profiling routines, partially copied from i386/osfrose.h. */
@@ -34,7 +23,7 @@
fprintf (FILE, "\tcall mcount\n"); \
} \
}
-@@ -129,6 +132,7 @@
+@@ -133,6 +132,7 @@
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
@@ -42,7 +31,7 @@
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
-@@ -138,6 +142,12 @@
+@@ -142,6 +142,12 @@
#define TYPE_OPERAND_FMT "@%s"
@@ -55,7 +44,7 @@
/* Write the extra assembler code needed to declare a function's result.
Most svr4 assemblers don't require any special declaration of the
result value, but there are exceptions. */
-@@ -239,6 +249,8 @@
+@@ -243,6 +249,8 @@
#define STARTFILE_SPEC \
"%{shared:c++rt0.o%s} \
%{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}"
diff --git a/lang/gcc41/files/patch-af b/lang/gcc41/files/patch-af
index e9d23249070c..c50ce06c8375 100644
--- a/lang/gcc41/files/patch-af
+++ b/lang/gcc41/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}}}}"
diff --git a/lang/gcc41/files/patch-ak b/lang/gcc41/files/patch-ak
index 817e789e8f53..19a2994f3f05 100644
--- a/lang/gcc41/files/patch-ak
+++ b/lang/gcc41/files/patch-ak
@@ -1,15 +1,32 @@
---- gcc/configure.orig Wed Dec 2 11:22:52 1998
-+++ gcc/configure Tue Feb 9 02:21:19 1999
-@@ -2748,20 +2748,21 @@
+--- gcc/configure.orig Mon Mar 8 10:06:10 1999
++++ gcc/configure Sat Mar 13 19:08:06 1999
+@@ -2395,6 +2395,15 @@
+ thread_file='posix'
+ fi
+ ;;
++ alpha*-*-freebsd*)
++ tm_file="${tm_file} freebsd.h alpha/freebsd.h alpha/freebsd-elf.h"
++ xm_file="${xm_file} xm-freebsd.h"
++ target_cpu_default="MASK_GAS"
++ tmake_file="t-freebsd alpha/t-crtbe"
++ xmake_file=none
++ fixincludes=fixinc.wrap
++ gas=yes gnu_ld=yes
++ ;;
+ alpha*-*-netbsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
+ xm_file="xm-netbsd.h ${xm_file}"
+@@ -2851,21 +2860,21 @@
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
- i[34567]86-*-freebsdelf*)
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
+ i[34567]86-*-freebsdaout*)
-+ tm_file=i386/freebsd.h
++ tm_file=i386/freebsd-aout.h
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
+- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=i386/t-freebsd
- gas=yes
- gnu_ld=yes
diff --git a/lang/gcc41/files/patch-al b/lang/gcc41/files/patch-al
index 5630ff63f6d5..51e1b8cdee1c 100644
--- a/lang/gcc41/files/patch-al
+++ b/lang/gcc41/files/patch-al
@@ -1,15 +1,32 @@
---- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
-+++ gcc/configure.in Tue Feb 9 02:22:10 1999
-@@ -846,20 +846,20 @@
+--- gcc/configure.in.orig Sun Mar 7 16:22:22 1999
++++ gcc/configure.in Sat Mar 13 19:23:23 1999
+@@ -416,6 +416,15 @@
+ thread_file='posix'
+ fi
+ ;;
++ alpha*-*-freebsd*)
++ tm_file="${tm_file} freebsd.h alpha/freebsd.h alpha/freebsd-elf.h"
++ xm_file="${xm_file} xm-freebsd.h"
++ target_cpu_default="MASK_GAS"
++ tmake_file="t-freebsd alpha/t-crtbe"
++ xmake_file=none
++ fixincludes=fixinc.wrap
++ gas=yes gnu_ld=yes
++ ;;
+ alpha*-*-netbsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
+ xm_file="xm-netbsd.h ${xm_file}"
+@@ -872,21 +881,21 @@
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
- i[[34567]]86-*-freebsdelf*)
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
+ i[[34567]]86-*-freebsdaout*)
-+ tm_file=i386/freebsd.h
++ tm_file=i386/freebsd-aout.h
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
+- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=i386/t-freebsd
- gas=yes
- gnu_ld=yes
@@ -20,6 +37,7 @@
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
++ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=i386/t-freebsd
+ gas=yes
+ gnu_ld=yes
diff --git a/lang/gcc41/files/patch-bc b/lang/gcc41/files/patch-bc
new file mode 100644
index 000000000000..c6faefae79d6
--- /dev/null
+++ b/lang/gcc41/files/patch-bc
@@ -0,0 +1,33 @@
+--- libstdc++/Makefile.in.orig Sat Jul 11 19:20:49 1998
++++ libstdc++/Makefile.in Sun Mar 14 21:48:39 1999
+@@ -14,7 +14,7 @@
+ # along with this library; see the file COPYING. If not, write to the Free
+ # Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+-VERSION = 2.9.0
++VERSION = 3
+
+ OBJS = cstringi.o stdexcepti.o cstdlibi.o cmathi.o stlinst.o
+ SUBLIBS = $(STAMP)-string $(STAMP)-complx
+@@ -98,7 +98,8 @@
+ ln -f -s $(SHLIB) $(SHLINK)
+
+ mshlink:
+- @$(MAKE) $(MSHLINK) "SHLINK=$(MSHLINK)"
++ #@$(MAKE) $(MSHLINK) "SHLINK=$(MSHLINK)"
++ @true
+
+ $(IO_DIR)/iostream.list: force
+ cd $(IO_DIR) ; $(MAKE) $(FLAGS_TO_PASS) iostream.list
+@@ -281,10 +282,7 @@
+ if [ $$FILE = $(SHLINK) ] ; then \
+ ln -f -s $(SHLIB) $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
+ elif [ $$FILE = mshlink ]; then \
+- for FILE in $(MSHLINK) ; do \
+- rm -f $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
+- ln -f -s $(SHLIB) $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
+- done; \
++ true; \
+ elif [ $$FILE = $(SHLIB) ]; then \
+ $(INSTALL_PROGRAM) $$FILE $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
+ : On the HP, shared libraries must be mode 555. ;\