aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-06-21 18:17:56 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-06-21 18:17:56 +0000
commit34f41f20b2941f29048ba850983820ee86dfe6e6 (patch)
tree8d007880b7be9e9c4536eeaf0f8cb26ed3362df6 /lang
parentca96bc201d0b671a3fc55426c36f11f624c56950 (diff)
downloadports-34f41f20b2941f29048ba850983820ee86dfe6e6.tar.gz
ports-34f41f20b2941f29048ba850983820ee86dfe6e6.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc-devel/Makefile4
-rw-r--r--lang/gcc-devel/distinfo12
-rw-r--r--lang/gcc-devel/files/patch-af109
-rw-r--r--lang/gcc-ooo/Makefile4
-rw-r--r--lang/gcc-ooo/distinfo12
-rw-r--r--lang/gcc-ooo/files/patch-af109
-rw-r--r--lang/gcc/Makefile4
-rw-r--r--lang/gcc/distinfo12
-rw-r--r--lang/gcc/files/patch-af109
-rw-r--r--lang/gcc30/Makefile4
-rw-r--r--lang/gcc30/distinfo12
-rw-r--r--lang/gcc30/files/patch-af109
-rw-r--r--lang/gcc31/Makefile4
-rw-r--r--lang/gcc31/distinfo12
-rw-r--r--lang/gcc31/files/patch-af109
-rw-r--r--lang/gcc32/Makefile4
-rw-r--r--lang/gcc32/distinfo12
-rw-r--r--lang/gcc32/files/patch-af109
-rw-r--r--lang/gcc33/Makefile4
-rw-r--r--lang/gcc33/distinfo12
-rw-r--r--lang/gcc33/files/patch-af109
-rw-r--r--lang/gcc34/Makefile4
-rw-r--r--lang/gcc34/distinfo12
-rw-r--r--lang/gcc34/files/patch-af109
-rw-r--r--lang/gcc35/Makefile4
-rw-r--r--lang/gcc35/distinfo12
-rw-r--r--lang/gcc35/files/patch-af109
-rw-r--r--lang/gcc40/Makefile4
-rw-r--r--lang/gcc40/distinfo12
-rw-r--r--lang/gcc40/files/patch-af109
-rw-r--r--lang/gcc41/Makefile4
-rw-r--r--lang/gcc41/distinfo12
-rw-r--r--lang/gcc41/files/patch-af109
-rw-r--r--lang/gcc42/Makefile4
-rw-r--r--lang/gcc42/distinfo12
-rw-r--r--lang/gcc42/files/patch-af109
-rw-r--r--lang/gcc43/Makefile4
-rw-r--r--lang/gcc43/distinfo12
-rw-r--r--lang/gcc43/files/patch-af109
-rw-r--r--lang/gcc44/Makefile4
-rw-r--r--lang/gcc44/distinfo12
-rw-r--r--lang/gcc44/files/patch-af109
-rw-r--r--lang/gcc45/Makefile4
-rw-r--r--lang/gcc45/distinfo12
-rw-r--r--lang/gcc45/files/patch-af109
-rw-r--r--lang/gcc46/Makefile4
-rw-r--r--lang/gcc46/distinfo12
-rw-r--r--lang/gcc46/files/patch-af109
-rw-r--r--lang/gcc47/Makefile4
-rw-r--r--lang/gcc47/distinfo12
-rw-r--r--lang/gcc47/files/patch-af109
-rw-r--r--lang/gcc48/Makefile4
-rw-r--r--lang/gcc48/distinfo12
-rw-r--r--lang/gcc48/files/patch-af109
54 files changed, 828 insertions, 1422 deletions
diff --git a/lang/gcc-devel/Makefile b/lang/gcc-devel/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc-devel/Makefile
+++ b/lang/gcc-devel/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc-devel/distinfo b/lang/gcc-devel/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc-devel/distinfo
+++ b/lang/gcc-devel/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc-devel/files/patch-af b/lang/gcc-devel/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc-devel/files/patch-af
+++ b/lang/gcc-devel/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc-ooo/Makefile
+++ b/lang/gcc-ooo/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc-ooo/distinfo b/lang/gcc-ooo/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc-ooo/distinfo
+++ b/lang/gcc-ooo/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc-ooo/files/patch-af b/lang/gcc-ooo/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc-ooo/files/patch-af
+++ b/lang/gcc-ooo/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc/distinfo b/lang/gcc/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc/distinfo
+++ b/lang/gcc/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc/files/patch-af b/lang/gcc/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc/files/patch-af
+++ b/lang/gcc/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc30/Makefile
+++ b/lang/gcc30/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc30/distinfo b/lang/gcc30/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc30/distinfo
+++ b/lang/gcc30/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc30/files/patch-af b/lang/gcc30/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc30/files/patch-af
+++ b/lang/gcc30/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc31/Makefile
+++ b/lang/gcc31/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc31/distinfo b/lang/gcc31/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc31/distinfo
+++ b/lang/gcc31/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc31/files/patch-af b/lang/gcc31/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc31/files/patch-af
+++ b/lang/gcc31/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc32/distinfo b/lang/gcc32/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc32/distinfo
+++ b/lang/gcc32/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc32/files/patch-af b/lang/gcc32/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc32/files/patch-af
+++ b/lang/gcc32/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc33/Makefile
+++ b/lang/gcc33/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc33/distinfo
+++ b/lang/gcc33/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc33/files/patch-af b/lang/gcc33/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc33/files/patch-af
+++ b/lang/gcc33/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc34/distinfo b/lang/gcc34/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc34/distinfo
+++ b/lang/gcc34/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc34/files/patch-af b/lang/gcc34/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc34/files/patch-af
+++ b/lang/gcc34/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc35/Makefile b/lang/gcc35/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc35/Makefile
+++ b/lang/gcc35/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc35/distinfo b/lang/gcc35/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc35/distinfo
+++ b/lang/gcc35/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc35/files/patch-af b/lang/gcc35/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc35/files/patch-af
+++ b/lang/gcc35/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc40/distinfo b/lang/gcc40/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc40/distinfo
+++ b/lang/gcc40/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc40/files/patch-af b/lang/gcc40/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc40/files/patch-af
+++ b/lang/gcc40/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc41/Makefile
+++ b/lang/gcc41/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc41/distinfo b/lang/gcc41/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc41/distinfo
+++ b/lang/gcc41/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc41/files/patch-af b/lang/gcc41/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc41/files/patch-af
+++ b/lang/gcc41/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc42/distinfo
+++ b/lang/gcc42/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc42/files/patch-af b/lang/gcc42/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc42/files/patch-af
+++ b/lang/gcc42/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc43/Makefile
+++ b/lang/gcc43/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc43/distinfo b/lang/gcc43/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc43/distinfo
+++ b/lang/gcc43/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc43/files/patch-af b/lang/gcc43/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc43/files/patch-af
+++ b/lang/gcc43/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc44/distinfo
+++ b/lang/gcc44/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc44/files/patch-af b/lang/gcc44/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc44/files/patch-af
+++ b/lang/gcc44/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc45/Makefile
+++ b/lang/gcc45/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc45/distinfo b/lang/gcc45/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc45/distinfo
+++ b/lang/gcc45/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc45/files/patch-af b/lang/gcc45/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc45/files/patch-af
+++ b/lang/gcc45/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc46/distinfo b/lang/gcc46/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc46/distinfo
+++ b/lang/gcc46/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc46/files/patch-af b/lang/gcc46/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc46/files/patch-af
+++ b/lang/gcc46/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc47/distinfo b/lang/gcc47/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc47/distinfo
+++ b/lang/gcc47/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc47/files/patch-af b/lang/gcc47/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc47/files/patch-af
+++ b/lang/gcc47/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 52237d21c051..83c1386a2af6 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -4,10 +4,10 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
+# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
#
-SNAPDATE= 1999-06-08
+SNAPDATE= 1999-06-16
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= egcs-${SNAPVER}
diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo
index 24d7fe3493b8..b56881e16267 100644
--- a/lang/gcc48/distinfo
+++ b/lang/gcc48/distinfo
@@ -1,6 +1,6 @@
-MD5 (egcs-chill-19990608.tar.gz) = 9a29050c8838fe7be70282ce2a56bd44
-MD5 (egcs-core-19990608.tar.gz) = 1e08bc2c0673cc415b85aaea8a59b837
-MD5 (egcs-g++-19990608.tar.gz) = 921e8fba270e2265c5ce450d6c7dd699
-MD5 (egcs-g77-19990608.tar.gz) = bf03ee0ea29db9e7ff4bf95d49778bcf
-MD5 (egcs-java-19990608.tar.gz) = 23697a855b42a88a39cdbaaa4b752ece
-MD5 (egcs-objc-19990608.tar.gz) = 4d05cce37f5f5ff3292a4080739ae920
+MD5 (egcs-chill-19990616.tar.gz) = 01e3e755daf034ba0f5af01ebb7c9e83
+MD5 (egcs-core-19990616.tar.gz) = 7876fbe2b76a7b09656939bc237a0468
+MD5 (egcs-g++-19990616.tar.gz) = 4198e212d6b3606b8f6ad4a3e443b1a5
+MD5 (egcs-g77-19990616.tar.gz) = 4fc255f38ae0a753de7d6f362b464c63
+MD5 (egcs-java-19990616.tar.gz) = 838cf9d40fe5166584d86fb7a68bc456
+MD5 (egcs-objc-19990616.tar.gz) = 6e2025c7fe06c0422f04e478a21a1629
diff --git a/lang/gcc48/files/patch-af b/lang/gcc48/files/patch-af
index 2e918ac92f9a..ea62731fd980 100644
--- a/lang/gcc48/files/patch-af
+++ b/lang/gcc48/files/patch-af
@@ -1,6 +1,6 @@
---- gcc/config/i386/freebsd.h.orig Thu Jun 3 16:18:41 1999
-+++ gcc/config/i386/freebsd.h Mon Jun 14 19:19:42 1999
-@@ -135,22 +135,19 @@
+--- gcc/config/i386/freebsd.h.orig Mon Jun 14 17:58:11 1999
++++ gcc/config/i386/freebsd.h Mon Jun 21 05:18:57 1999
+@@ -135,23 +135,16 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
@@ -13,21 +13,22 @@
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
- { \
+- { \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+- } \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
else \
- { \
+- { \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+- } \
+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
}
-@@ -170,10 +167,30 @@
+ #undef SIZE_TYPE
+@@ -170,10 +163,30 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
@@ -60,72 +61,38 @@
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-@@ -210,23 +227,6 @@
- #define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-
--
--#undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
--#define LIB_SPEC \
+@@ -194,11 +207,11 @@
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
--
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
- link things in one of these three modes by applying the appropriate
-@@ -242,13 +242,24 @@
- done. */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
-- %{!shared: \
-- %{!ibcs: \
-+#define LINK_SPEC "\
-+ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \
-+ %{v:-V} \
-+ %{maout: %{shared:-Bshareable} \
-+ %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} \
-+ %{pg:-Bstatic} %{Z}} \
-+ %{assert*} %{R*}} \
-+ %{!maout: \
-+ -m elf_i386 \
-+ %{Wl,*:%*} \
-+ %{assert*} %{R*} %{rpath*} %{defsym*} \
-+ %{shared:-Bshareable %{h*} %{soname*}} \
-+ %{symbolic:-Bsymbolic} \
-+ %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-- %{static:-Bstatic}}}"
-+ %{static:-Bstatic}}}"
-
- /* A C statement to output to the stdio stream FILE an assembler
- command to advance the location counter to a multiple of 1<<LOG
-@@ -263,3 +274,15 @@
- else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
- }
- #endif
-+
-+#undef STARTFILE_SPEC
-+#define STARTFILE_SPEC "\
-+ %{maout: %{shared:c++rt0.o%s} \
+- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
+- %{!p:%{profile:gcrt1.o%s} \
+- %{!profile:crt1.o%s}}}} \
+- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: %{!shared: \
+ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+ crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
-+
-+#undef ENDFILE_SPEC
-+#define ENDFILE_SPEC \
+
+ /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
+ the magical crtend.o file (see crtstuff.c) which provides part of
+@@ -208,7 +221,7 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
+
+ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
+ libc, depending on whether we're doing profiling or need threads support.
+@@ -247,7 +260,7 @@
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
+- %{static:-Bstatic}}} \
++ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
+ /* A C statement to output to the stdio stream FILE an assembler