diff options
author | obrien <obrien@FreeBSD.org> | 1999-03-17 00:40:26 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-03-17 00:40:26 +0000 |
commit | 51977575142920077a3519c3db4068d7d1386387 (patch) | |
tree | 2b7103b50b500cf344eb4d9d965322b3a04ad0a5 /lang/gcc43/files | |
parent | 93d62ef47f38348a8d9f1c6a38a3477ab0e6c86d (diff) | |
download | FreeBSD-ports-51977575142920077a3519c3db4068d7d1386387.zip FreeBSD-ports-51977575142920077a3519c3db4068d7d1386387.tar.gz |
Upgrade to 1.1.2 release.
Diffstat (limited to 'lang/gcc43/files')
-rw-r--r-- | lang/gcc43/files/patch-ad | 23 | ||||
-rw-r--r-- | lang/gcc43/files/patch-af | 27 | ||||
-rw-r--r-- | lang/gcc43/files/patch-ak | 25 | ||||
-rw-r--r-- | lang/gcc43/files/patch-al | 26 | ||||
-rw-r--r-- | lang/gcc43/files/patch-bc | 33 |
5 files changed, 88 insertions, 46 deletions
diff --git a/lang/gcc43/files/patch-ad b/lang/gcc43/files/patch-ad index 3fa37c9..f8fb580 100644 --- a/lang/gcc43/files/patch-ad +++ b/lang/gcc43/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/gcc43/files/patch-af b/lang/gcc43/files/patch-af index e9d2324..c50ce06 100644 --- a/lang/gcc43/files/patch-af +++ b/lang/gcc43/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/gcc43/files/patch-ak b/lang/gcc43/files/patch-ak index 817e789..19a2994 100644 --- a/lang/gcc43/files/patch-ak +++ b/lang/gcc43/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/gcc43/files/patch-al b/lang/gcc43/files/patch-al index 5630ff6..51e1b8c 100644 --- a/lang/gcc43/files/patch-al +++ b/lang/gcc43/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/gcc43/files/patch-bc b/lang/gcc43/files/patch-bc new file mode 100644 index 0000000..c6faefa --- /dev/null +++ b/lang/gcc43/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. ;\ |