Update to 19981213 snapshot.

- use new `enable-languages' mechanism,
- depend i386/openbsd.h on flag_pic
- remove temp fix for m68k
This commit is contained in:
espie 1998-12-16 17:52:29 +00:00
parent 7cebab6981
commit 646bb8a000
10 changed files with 104 additions and 112 deletions

View File

@ -3,7 +3,7 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.7 1998/12/05 23:25:58 espie Exp $
# $OpenBSD: Makefile,v 1.8 1998/12/16 17:52:29 espie Exp $
#
# This is a configuration file for egcs, recent snapshot
# PLEASE use the regular egcs-stable for serious work, resort to this one
@ -23,8 +23,6 @@ MAINTAINER= Marc.Espie@openbsd.org
# this will improve over time as more and more architectures are handled
# with some help from Jason L. Wright for sparc...
# 981130 builds for m68k, thanks to Andreas Schwab patch !
ONLY_FOR_ARCHS = i386 sparc m68k
# user configuration section
@ -49,15 +47,16 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu
ONE_ARCHIVE=yes
LATEST_DATE=1998-11-30
LATEST_DATE=1998-12-06
#### fetch section
# configuration is built so that you can test the next snapshot easily,
# define NEXT_DATE to the next snapshot... you lose the ability to check
# md5 sums, though.
# You also may have to remove/add some patches, as these things ARE
# usually passed along to the egcs ml.
#NEXT_DATE=1998-11-30
NEXT_DATE=1998-12-13
#PATCH_DEBUG=yes
LATEST != echo ${LATEST_DATE} | sed -e s/-//g;
@ -190,30 +189,8 @@ post-patch:
find ${WRKSRC} -name \*.orig|xargs ${RM}
${CP} -R ${FILESDIR}/config/* ${WRKSRC}
-${RM} -rf ${WRKSRC}/texinfo
.if !defined(MAKE_CHILL)
-${RM} -rf ${WRKSRC}/gcc/ch ${WRKSRC}/libchill
.endif
cd ${WRKSRC}; \
for f in gcc/c-parse.y \
gcc/cstamp-h.in \
gcc/c-gperf.h \
gcc/c-parse.c \
gcc/c-parse.h \
gcc/cexp.c \
gcc/cp/parse.c \
gcc/cp/parse.h \
gcc/objc/objc-parse.c \
gcc/objc/objc-parse.y \
gcc/java/parse.h \
gcc/java/parse.c \
gcc/java/parse-scan.c \
libf2c/libU77/stamp-h.in \
contrib/fixinc/fixincl.x \
contrib/fixinc/inclhack.sh \
contrib/fixinc/fixincl.sh \
gcc/fixinc/fixincl.x \
gcc/fixinc/inclhack.sh \
gcc/fixinc/fixincl.sh; \
for f in `cat ${FILESDIR}/fixdepend`;
do \
[ -f $$f ] && touch $$f; \
done
@ -232,9 +209,26 @@ GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../source/configure
CONFIGURE_ENV=CFLAGS=-O2
LANGS=c
.if defined(MAKE_GXX)
LANGS+=c++
.endif
.if defined(MAKE_FORTRAN)
LANGS+=f77
.endif
.if defined(MAKE_CHILL)
LANGS+=CHILL
.endif
.if defined(MAKE_OBJC)
LANGS+=objc
.endif
.if defined(MAKE_JAVA)
LANGS+=java
.endif
CONFIGURE_ENV=CFLAGS=-O2 LANGUAGES='${LANGS}'
CONFIGURE_ARGS= --prefix=${PREFIX} \
--verbose --program-transform-name=s,^,e,
--verbose --program-transform-name=s,^,e,
.if defined(AS_PATH)
@ -253,6 +247,7 @@ CONFIGURE_ARGS += --with-gnu-ld
CONFIGURE_ARGS+=--enable-shared
.endif
# rebuild configure file after patching, then move source around !!!
# XXX: don't try to autoconf the main configure file, it's not autoconf.
# DON'T invoke autoconf unless you have autoconf >= 2.12.1

View File

@ -30,7 +30,7 @@
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
/* $OpenBSD: openbsd.h,v 1.1 1998/10/02 18:57:29 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.2 1998/12/16 17:52:29 espie Exp $ */
/* There are conflicting reports about whether this system uses
a different assembler syntax. wilson@cygnus.com says # is right. */
@ -57,7 +57,7 @@
/* Indicate that jump tables go in the text section. This is
necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION 1
#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */

View File

@ -0,0 +1,21 @@
gcc/c-parse.y
gcc/cstamp-h.in
gcc/c-gperf.h
gcc/c-parse.c
gcc/c-parse.h
gcc/cexp.c
gcc/cp/parse.c
gcc/cp/parse.h
gcc/objc/objc-parse.c
gcc/objc/objc-parse.y
gcc/java/parse.h
gcc/java/parse.c
gcc/java/parse-scan.c
libf2c/libU77/stamp-h.in
contrib/fixinc/fixincl.x
contrib/fixinc/inclhack.sh
contrib/fixinc/fixincl.sh
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.sh
gcc/fixinc/fixincl.sh

View File

@ -1,3 +1,4 @@
MD5 (egcs/egcs-19981122-19981130.diff.gz) = fca80bb7ec5eabf8c76fbb7579dc301f
MD5 (egcs/egcs-19981122.tar.gz) = 4eac67b9fe16cf962611843bbf294791
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981130-19981206.diff.gz) = ea51d3b845dca737550a01e61ccbb39e
MD5 (egcs/egcs-19981206-19981213.diff.gz) = e83a44452b6057765eb8f22bb8582a8d
MD5 (egcs/egcs-19981206.tar.gz) = 5f55ba0a5a719dbff577f89e01233eda

View File

@ -1,21 +0,0 @@
--- gcc/reload1.c.orig Fri Nov 27 12:59:29 1998
+++ gcc/reload1.c Fri Nov 27 13:00:01 1998
@@ -1085,7 +1085,7 @@
reload_completed = 1;
/* Make a pass over all the insns and delete all USEs which we inserted
- only to tag a REG_EQUAL note on them. Remove all REG_DEAD and REG_UNUSED
+ only to tag a REG_EQUAL note on them. Remove all REG_DEAD
notes. Delete all CLOBBER insns and simplify (subreg (reg)) operands. */
for (insn = first; insn; insn = NEXT_INSN (insn))
@@ -1106,8 +1106,7 @@
pnote = &REG_NOTES (insn);
while (*pnote != 0)
{
- if (REG_NOTE_KIND (*pnote) == REG_DEAD
- || REG_NOTE_KIND (*pnote) == REG_UNUSED)
+ if (REG_NOTE_KIND (*pnote) == REG_DEAD)
*pnote = XEXP (*pnote, 1);
else
pnote = &XEXP (*pnote, 1);

View File

@ -3,7 +3,7 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.7 1998/12/05 23:25:58 espie Exp $
# $OpenBSD: Makefile,v 1.8 1998/12/16 17:52:29 espie Exp $
#
# This is a configuration file for egcs, recent snapshot
# PLEASE use the regular egcs-stable for serious work, resort to this one
@ -23,8 +23,6 @@ MAINTAINER= Marc.Espie@openbsd.org
# this will improve over time as more and more architectures are handled
# with some help from Jason L. Wright for sparc...
# 981130 builds for m68k, thanks to Andreas Schwab patch !
ONLY_FOR_ARCHS = i386 sparc m68k
# user configuration section
@ -49,15 +47,16 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu
ONE_ARCHIVE=yes
LATEST_DATE=1998-11-30
LATEST_DATE=1998-12-06
#### fetch section
# configuration is built so that you can test the next snapshot easily,
# define NEXT_DATE to the next snapshot... you lose the ability to check
# md5 sums, though.
# You also may have to remove/add some patches, as these things ARE
# usually passed along to the egcs ml.
#NEXT_DATE=1998-11-30
NEXT_DATE=1998-12-13
#PATCH_DEBUG=yes
LATEST != echo ${LATEST_DATE} | sed -e s/-//g;
@ -190,30 +189,8 @@ post-patch:
find ${WRKSRC} -name \*.orig|xargs ${RM}
${CP} -R ${FILESDIR}/config/* ${WRKSRC}
-${RM} -rf ${WRKSRC}/texinfo
.if !defined(MAKE_CHILL)
-${RM} -rf ${WRKSRC}/gcc/ch ${WRKSRC}/libchill
.endif
cd ${WRKSRC}; \
for f in gcc/c-parse.y \
gcc/cstamp-h.in \
gcc/c-gperf.h \
gcc/c-parse.c \
gcc/c-parse.h \
gcc/cexp.c \
gcc/cp/parse.c \
gcc/cp/parse.h \
gcc/objc/objc-parse.c \
gcc/objc/objc-parse.y \
gcc/java/parse.h \
gcc/java/parse.c \
gcc/java/parse-scan.c \
libf2c/libU77/stamp-h.in \
contrib/fixinc/fixincl.x \
contrib/fixinc/inclhack.sh \
contrib/fixinc/fixincl.sh \
gcc/fixinc/fixincl.x \
gcc/fixinc/inclhack.sh \
gcc/fixinc/fixincl.sh; \
for f in `cat ${FILESDIR}/fixdepend`;
do \
[ -f $$f ] && touch $$f; \
done
@ -232,9 +209,26 @@ GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../source/configure
CONFIGURE_ENV=CFLAGS=-O2
LANGS=c
.if defined(MAKE_GXX)
LANGS+=c++
.endif
.if defined(MAKE_FORTRAN)
LANGS+=f77
.endif
.if defined(MAKE_CHILL)
LANGS+=CHILL
.endif
.if defined(MAKE_OBJC)
LANGS+=objc
.endif
.if defined(MAKE_JAVA)
LANGS+=java
.endif
CONFIGURE_ENV=CFLAGS=-O2 LANGUAGES='${LANGS}'
CONFIGURE_ARGS= --prefix=${PREFIX} \
--verbose --program-transform-name=s,^,e,
--verbose --program-transform-name=s,^,e,
.if defined(AS_PATH)
@ -253,6 +247,7 @@ CONFIGURE_ARGS += --with-gnu-ld
CONFIGURE_ARGS+=--enable-shared
.endif
# rebuild configure file after patching, then move source around !!!
# XXX: don't try to autoconf the main configure file, it's not autoconf.
# DON'T invoke autoconf unless you have autoconf >= 2.12.1

View File

@ -30,7 +30,7 @@
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
/* $OpenBSD: openbsd.h,v 1.1 1998/10/02 18:57:29 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.2 1998/12/16 17:52:29 espie Exp $ */
/* There are conflicting reports about whether this system uses
a different assembler syntax. wilson@cygnus.com says # is right. */
@ -57,7 +57,7 @@
/* Indicate that jump tables go in the text section. This is
necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION 1
#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */

View File

@ -0,0 +1,21 @@
gcc/c-parse.y
gcc/cstamp-h.in
gcc/c-gperf.h
gcc/c-parse.c
gcc/c-parse.h
gcc/cexp.c
gcc/cp/parse.c
gcc/cp/parse.h
gcc/objc/objc-parse.c
gcc/objc/objc-parse.y
gcc/java/parse.h
gcc/java/parse.c
gcc/java/parse-scan.c
libf2c/libU77/stamp-h.in
contrib/fixinc/fixincl.x
contrib/fixinc/inclhack.sh
contrib/fixinc/fixincl.sh
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.sh
gcc/fixinc/fixincl.sh

View File

@ -1,3 +1,4 @@
MD5 (egcs/egcs-19981122-19981130.diff.gz) = fca80bb7ec5eabf8c76fbb7579dc301f
MD5 (egcs/egcs-19981122.tar.gz) = 4eac67b9fe16cf962611843bbf294791
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981130-19981206.diff.gz) = ea51d3b845dca737550a01e61ccbb39e
MD5 (egcs/egcs-19981206-19981213.diff.gz) = e83a44452b6057765eb8f22bb8582a8d
MD5 (egcs/egcs-19981206.tar.gz) = 5f55ba0a5a719dbff577f89e01233eda

View File

@ -1,21 +0,0 @@
--- gcc/reload1.c.orig Fri Nov 27 12:59:29 1998
+++ gcc/reload1.c Fri Nov 27 13:00:01 1998
@@ -1085,7 +1085,7 @@
reload_completed = 1;
/* Make a pass over all the insns and delete all USEs which we inserted
- only to tag a REG_EQUAL note on them. Remove all REG_DEAD and REG_UNUSED
+ only to tag a REG_EQUAL note on them. Remove all REG_DEAD
notes. Delete all CLOBBER insns and simplify (subreg (reg)) operands. */
for (insn = first; insn; insn = NEXT_INSN (insn))
@@ -1106,8 +1106,7 @@
pnote = &REG_NOTES (insn);
while (*pnote != 0)
{
- if (REG_NOTE_KIND (*pnote) == REG_DEAD
- || REG_NOTE_KIND (*pnote) == REG_UNUSED)
+ if (REG_NOTE_KIND (*pnote) == REG_DEAD)
*pnote = XEXP (*pnote, 1);
else
pnote = &XEXP (*pnote, 1);