Argh. I was SURE I had repaired that port WEEKS ago.

So, here goes.

- retrieve a recent snapshot of egcs, to justify the port's existence,
- remove outdated fixes, now that we're synching with 2.6,
- update patches to deal with the current snapshot,
- get a description that matches better what's going on,
- add fixed include files to match the new varargs handling (complexity
is now within gcc, instead of arch-dependent include files).

Builds on i386, at least.
This commit is contained in:
espie 1999-11-24 00:15:04 +00:00
parent 498376f7a5
commit f844940867
16 changed files with 258 additions and 260 deletions

View File

@ -1,6 +1,4 @@
# $OpenBSD: Makefile,v 1.58 1999/11/14 22:00:36 turan Exp $
BROKEN= /usr/ports/lang/egcs/snapshot/work/egcs-19990907/gcc/configure[3588]: syntax error: newline unexpected
# $OpenBSD: Makefile,v 1.59 1999/11/24 00:15:04 espie Exp $
# This is a configuration file for egcs, snapshot flavor
# PLEASE use the regular egcs-stable for serious work, resort to this one
@ -33,7 +31,7 @@ MIRROR_DISTFILE=no
# cygnus packaging scheme is now working, though it is weird.
# namely, testsuite holds all the tests. g++-tests no longer exists,
# and g77-tests only holds duplicates from the main testsuite archive.
MAKE_TESTS=yes
#MAKE_TESTS=yes
MAKE_GXX=yes
MAKE_FORTRAN=yes
# chill is temporarily broken
@ -49,7 +47,7 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu
ONE_ARCHIVE=yes
LATEST_DATE=1999-09-07
LATEST_DATE=1999-11-10
#### fetch section
# configuration is built so that you can test the next snapshot easily,
@ -57,7 +55,7 @@ LATEST_DATE=1999-09-07
# You also may have to remove/add some patches, as these things ARE
# usually passed along to the egcs ml.
#NEXT_DATE=1999-09-07
#NEXT_DATE=1999-09-13
#PATCH_DEBUG=yes
LATEST != echo ${LATEST_DATE} | sed -e s/-//g;
@ -203,27 +201,14 @@ SUPPATCHFILES+=egcs-${sub}-${LATEST}-${NEXT}.diff.gz
.endif
# Misc bug sections
pre-fetch:
.if (${MACHINE_ARCH} == "i386")
@(cd /tmp && /usr/bin/as -k ${FILESDIR}/gas-bug/test-i386-gas.s) || \
(${ECHO} "Your gas has a bug, see ${FILESDIR}/gas-bug for details"; ${FALSE})
.endif
# @if [ -f /usr/lib/libc.so.* ]; \
# then \
# ldd /usr/lib/libc.so.* 2>/dev/null || \
# (${ECHO} "Your ldd must be patched, see ${FILESDIR}/ldd-patch"; ${FALSE}) \
# fi
makesum:
@${ECHO} ">>>Please make addsum to avoid clobbering old checksums"
@${FALSE}
@echo 1>&2">>>Please make addsum to avoid clobbering old checksums"
@exit 1
# synch the date
.if defined(NEXT)
post-extract:
${MV} ${WRKDIR}/egcs-${LATEST} ${WRKSRC}
mv ${WRKDIR}/egcs-${LATEST} ${WRKSRC}
.endif
@ -251,12 +236,14 @@ PATCH_LIST+=patch-java-*
post-patch:
# avoid packaging include copies along...
find ${WRKSRC} -name \*.orig|xargs ${RM}
${CP} -R ${FILESDIR}/config/* ${WRKSRC}
cp -R ${FILESDIR}/config/* ${WRKSRC}
cp -R ${FILESDIR}/include/* ${WRKSRC}/gcc/ginclude
cd ${WRKSRC} && contrib/gcc_update --touch
# rebuild configure files after patching, then move source around !!!
# XXX: don't try to autoconf the main configure file, it's not autoconf.
cd ${WRKSRC}/gcc && PATH=${PORTPATH} autoconf
cd ${WRKSRC}/libiberty && PATH=${PORTPATH} autoconf
cd ${WRKSRC}/libf2c/libI77 && PATH=${PORTPATH} autoconf
@ -337,7 +324,8 @@ SEPARATE_BUILD=concurrent
# you shouldn't skip bootstrap unless you know what you're doing
# use bootstrap-lean if you're pressed for space
ALL_TARGET=bootstrap
ALL_TARGET=bootstrap
#ALL_TARGET=bootstrap3
# ALL_TARGET=bootstrap-lean
# desactivate the fixincludes mechanism by supplying a script which does
@ -348,27 +336,31 @@ pre-build:
# XXX we need to override do-build to get the warnings from within make
do-build:
@(cd ${WRKBUILD}; \
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET} 2>warnings) || \
${MAKE_ENV} make ${ALL_TARGET} 2>warnings) || \
(echo "*** Make bootstrap failed."; \
echo "*** Look at ${WRKBUILD}/warnings for errors"; ${FALSE})
####
# Install & tests section
# Tests no longer need to be performed at the end of install, this
# was a bug in libstdc++/openbsd.ml
post-build:
mkdir -p ${WRKBUILD}/gcc/include/machine
cp ${FILESDIR}/include/machine/ansi.h ${WRKBUILD}/gcc/include/machine
# Tests still need to be performed at the end of install, I don't know why.
.if defined(MAKE_TESTS)
TEST_RESULT=${WRKBUILD}/test.result
post-build:
post-install:
@(cd ${WRKBUILD}; ulimit -c 0; \
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${MAKEFILE} check && \
${MAKE_ENV} make -f ${MAKEFILE} check && \
${WRKSRC}/contrib/test_summary >${TEST_RESULT})
@${ECHO} "Please send the tests results to the egcs project"
@${ECHO} "By invoking make send-results"
send-results:
[ -f ${TEST_RESULT} ] && sh ${TEST_RESULT}
.else
.endif
PLIST=${WRKBUILD}/PLIST
@ -390,14 +382,9 @@ M4FLAGS+= -DOBJC
M4FLAGS+= -DJAVA
.endif
special: extract
# avoid packaging include copies along...
find ${WRKSRC} -name \*.orig|xargs ${RM}
-${RM} -rf ${WRKSRC}/texinfo
GCC_NAME=${WRKBUILD}/gcc/xgcc
pre-install:
${M4} ${M4FLAGS} -DARCH=`${GCC_NAME} -dumpmachine` \
m4 ${M4FLAGS} -DARCH=`${GCC_NAME} -dumpmachine` \
-DVERSION=`${GCC_NAME} -dumpversion` \
<${FILESDIR}/PLIST.template >${PLIST}

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.6 1999/02/23 09:28:23 espie Exp $
$OpenBSD: README,v 1.7 1999/11/24 00:15:04 espie Exp $
Warning: highly experimental port.
@ -11,16 +11,6 @@ corresponding yacc source. If this fails for you, blame your setup. *RUN*
a time protocol over NFS networks, heck, get a clue.
I am currently rewriting the openbsd configuration files, mostly from
scratch, in order to clean them up. Goal is to have something I can
file up with the FSF as soon as possible, so that egcs 1.1.2 will have
*official* openbsd support.
[ As of 19990221, the i386,m68k,sparc,alpha flavors of OpenBSD are now
officially supported by egcs. I have hopes for the 1.1.2 release. ]
There are copyright issues involved.
If configuration for your favorite processor does not work, there are
two possibilities:
@ -41,16 +31,6 @@ to know what you changed from that default processor configuration: when
egcs evolves and add new specs, it's easier to know what to pick up, and
what to leave alone.
As another example, netbsd recently added '.globl' to ASM_WEAKEN_LABEL,
and it took me a while to figure it out. Apparently, this is something that
is required for arm32 to work. No reason it should contaminate other
architectures as it did.
As a final example, it turns out that a large part of openbsd configuration
information in gcc 2.8.1 was just random cut&paste which didn't make much
sense in many cases... Ultimately, I hope that all egcs/gcc openbsd flavors
will use the same configuration files.
From a technical point of view, part of the challenge is that some bugs
may come from the compiler, some from the assembler, and from the linker.
It's likely that the only way to resolve many bugs will be to finally
@ -58,35 +38,12 @@ upgrade to a recent binutils... For instance, C++ currently has to resort
to substandard setjump/longjump exceptions as we don't handle dwarf2 unwind
info correctly.
Accordingly, if you use this port, you MUST track current. For instance,
Jason recently fixed a bug in gas that showed up during sparc bootstrap.
Please read the Makefile before attempting to build this port. There might
be some tweaks involved. Start with make patch, then read the
documentation, and decide on changes. For instance, C++ folks may wish to
play with -fsquangle: since this is an option you need to activate for
building the library, you had better decide from the start.
On the other hand, there are several known situations which confuse our
specific flavor of gas. For instance, some recent snapshots built fine on the
older machines with default CFLAGS (-O2 -g), but crash when -g is removed.
This seems to be fixed as of 19990131
As of 19990117, I personally built egcs for m68k, i386, alpha, and sparc.
So all those archs *do* work. If it doesn't work for you, you've been doing
something wrong. Other arches are well along the way...
As of 19990131, I checked that i386 and m68k did work.
I don't recommend 19990208 for production use. There are fairly recent
changes to the loop handling code that breaks useful stuff, such as
gnu-grep...
As of 19990214, the newer loop code is deactivated. I've been working on
sending precise bug reports to solve most of the bugs.
19990221 is the first snapshot to include support for
i386,m68,sparc,alpha-openbsd out of the box.
Once you get through all those caveats, and manage to build egcs, one
nice point is that you get fairly good C, C++, f77, objective-C, and
java compilers.

View File

@ -2,11 +2,11 @@
@unexec install-info --delete --info-dir=%D/info %D/info/ecpp.info
bin/egcc
bin/ecpp
bin/eprotoize
bin/eunprotoize
dnl bin/eprotoize
dnl bin/eunprotoize
bin/egcov
bin/ARCH-gcc
lib/gcc-lib/ARCH/VERSION/SYSCALLS.c.X
dnl lib/gcc-lib/ARCH/VERSION/SYSCALLS.c.X
lib/gcc-lib/ARCH/VERSION/cc1
lib/gcc-lib/ARCH/VERSION/collect2
lib/gcc-lib/ARCH/VERSION/cpp
@ -16,6 +16,9 @@ lib/gcc-lib/ARCH/VERSION/include/syslimits.h
lib/gcc-lib/ARCH/VERSION/include/limits.h
lib/gcc-lib/ARCH/VERSION/include/float.h
lib/gcc-lib/ARCH/VERSION/include/README
lib/gcc-lib/ARCH/VERSION/include/stdarg.h
lib/gcc-lib/ARCH/VERSION/include/machine/ansi.h
lib/gcc-lib/ARCH/VERSION/include/varargs.h
lib/libiberty.a
info/ecpp.info
info/ecpp.info-1
@ -73,7 +76,7 @@ lib/gcc-lib/ARCH/VERSION/include/new
lib/gcc-lib/ARCH/VERSION/include/new.h
lib/libstdc++.a.2.10.0
ifdef(`DYNAMIC',
lib/libstdc++.so.31.0
lib/libstdc++.so.32.0
lib/libstdc++.so.2.10.0
lib/gcc-lib/ARCH/VERSION/libstdc++.so
lib/gcc-lib/ARCH/VERSION/libstdc++.a
@ -284,6 +287,7 @@ lib/gcc-lib/ARCH/VERSION/jvgenmain
@dirrm include/g++-3
)ifdef(`OBJC',
@dirrm lib/gcc-lib/ARCH/VERSION/include/objc)
@dirrm lib/gcc-lib/ARCH/VERSION/include/machine
@dirrm lib/gcc-lib/ARCH/VERSION/include
@dirrm lib/gcc-lib/ARCH/VERSION
@dirrm lib/gcc-lib/ARCH

View File

@ -1,38 +0,0 @@
To fix that bug, grab your as sources, apply the patch, and rebuild gas.
A long explanation of the problem follows.
This is a long-standing problem with gcc that has finally been fixed.
On some architectures, conventions are that C symbols are prepended
an underscore when they get down to assembler, e.g.,
f -> _f
_io -> __io
There is a switch in gcc config files specifically for that, that's
YES_UNDERSCORE.
Unfortunately, gcc used to disregard that switch on i386 for the special
symbol _GLOBAL_OFFSET_TABLE_, so
_GLOBAL_OFFSET_TABLE_ -> _GLOBAL_OFFSET_TABLE_
without any regards for YES_UNDERSCORE setting.
This is a problem for two reasons:
* in a YES_UNDERSCORE world,
GLOBAL_OFFSET_TABLE_ -> _GLOBAL_OFFSET_TABLE_
so you've got a collision. What is worse: _GLOBAL_OFFSET_TABLE_ is reserved
for the implementation, whereas GLOBAL_OFFSET_TABLE_ is not.
* the linker expects __GLOBAL_OFFSET_TABLE_ on OpenBSD arches that prepend
underscores.
Since the bug looked unlikely to get fixed, gas and ld contain some kludges
to alias _GLOBAL_OFFSET_TABLE_ and __GLOBAL_OFFSET_TABLE_.
But the bug has been fixed ! and now, gcc emits __GLOBAL_OFFSET_TABLE_,
which is not recognized by as, as of 2.5. So the fix is simply to make
certain as recognizes the proper spelling __GLOBAL_OFFSET_TABLE_.
For downward compatibility with gcc 2.8.1, as does automagically translates
_GLOBAL_OFFSET_TABLE_ to __GLOBAL_OFFSET_TABLE_, and ld does alias both
symbols to __GLOBAL_OFFSET_TABLE anyhow. Eventually, this downward
compatibility will be removed, and users will be able to use
GLOBAL_OFFSET_TABLE_ in their code.

View File

@ -1,41 +0,0 @@
--- /usr/src/gnu/usr.bin/gas/config/tc-i386.c.orig Sat Jan 23 01:18:15 1999
+++ /usr/src/gnu/usr.bin/gas/config/tc-i386.c Fri Apr 23 03:53:02 1999
@@ -35,11 +35,8 @@
#include "obstack.h"
#include "opcode/i386.h"
-#ifdef KLUDGE
+/* real name for the assembler, translate from C _GLOBAL_OFFSET_TABLE_ */
#define GLOBAL_OFFSET_TABLE_NAME "__GLOBAL_OFFSET_TABLE_"
-#else
-#define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_"
-#endif
/* one more argument for fix_new */
#ifdef PIC
@@ -2259,16 +2256,18 @@
char *name;
{
#ifdef PIC
-#ifdef KLUDGE
- /* HACK:
- * Sun's ld expects __GLOBAL_OFFSET_TABLE_,
- * gcc generates _GLOBAL_OFFSET_TABLE_
- * should probably fix ld - new SVR4 style??
+ /* gcc bug work-around:
+ * old versions of gcc don't heed YES_UNDERSCORES,
+ * and always generate _GLOBAL_OFFSET_TABLE_.
+ * On OpenBSD, this is a bug, as this collides with
+ * the user namespace.
+ *
+ * This code will no longer be needed once the switch to a recent
+ * egcs is complete.
*/
if (*name == '_' && *(name+1) == 'G' &&
strcmp(name, "_GLOBAL_OFFSET_TABLE_") == 0)
- return symbol_find("__GLOBAL_OFFSET_TABLE_");
-#endif
+ return symbol_find(GLOBAL_OFFSET_TABLE_NAME);
#endif
return 0;
}

View File

@ -1,3 +0,0 @@
# check that as recognizes __GLOBAL_OFFSET_TABLE_
L1:
addl $__GLOBAL_OFFSET_TABLE_+[.-L1],%ebx

View File

@ -0,0 +1,6 @@
/* ansi.h stub to fix _BSD_VA_LIST_ type */
#ifndef _ANSI_H_
#include_next <machine/ansi.h>
#undef _BSD_VA_LIST_
#define _BSD_VA_LIST_ __builtin_va_list
#endif

View File

@ -0,0 +1,25 @@
#ifndef _STDARG_H_
#define _STDARG_H_
#include <machine/ansi.h>
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
typedef __builtin_va_list __gnuc_va_list;
#endif
/* Note that the type used in va_arg is supposed to match the
actual type **after default promotions**.
Thus, va_arg (..., short) is not valid. */
#define va_start(v,l) __builtin_stdarg_start(&(v),l)
#define va_end __builtin_va_end
#define va_arg __builtin_va_arg
#define va_copy(d,s) __builtin_va_copy(&(d),(s))
typedef __gnuc_va_list va_list;
#endif /* not _STDARG_H_ */

View File

@ -0,0 +1,34 @@
#ifndef _VARARGS_H_
#define _VARARGS_H_
/* These macros implement traditional (non-ANSI) varargs
for GNU C. */
#define va_alist __builtin_va_alist
#define __va_ellipsis ...
/* ??? We don't process attributes correctly in K&R argument context. */
typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
/* ??? It would be nice to get rid of the ellipsis here. It causes
current_function_varargs to be set in cc1. */
#define va_dcl __builtin_va_alist_t __builtin_va_alist; ...
/* Define __gnuc_va_list, just as in stdarg.h. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
typedef __builtin_va_list __gnuc_va_list;
#endif
#define va_start(v) __builtin_varargs_start(&(v))
#define va_end __builtin_va_end
#define va_arg __builtin_va_arg
#define __va_copy(d,s) __builtin_va_copy(&(d),(s))
/* Define va_list from __gnuc_va_list. */
typedef __gnuc_va_list va_list;
#endif /* _VARARGS_H_ */

View File

@ -2,107 +2,194 @@ MD5 (egcs/egcs-19990808.tar.gz) = b2b46638e4f6e82e08d5fcfe7abd3d86
MD5 (egcs/egcs-19990824.tar.gz) = 1777c870cecd2f08c94474e1ceb40d4a
MD5 (egcs/egcs-19990830-19990907.diff.gz) = e2fa07e9ef2050f8d8288932efe0e3ba
MD5 (egcs/egcs-19990830.tar.gz) = eb9a3cc28c153b90520e5b8cc6aee0db
MD5 (egcs/egcs-19990907-19990913.diff.gz) = 871e196a977d9b9a020cc0064cf3fdcf
MD5 (egcs/egcs-19990907.tar.gz) = b69c20c4709c6a1923b190797b395718
MD5 (egcs/egcs-19990913.tar.gz) = 7e588c057250dd004782e38d6c14d416
MD5 (egcs/egcs-19991025.tar.gz) = 09ab8755df8432327e02f46215c51829
MD5 (egcs/egcs-19991110.tar.gz) = 19d16f6fa47e73641a5cbb236a378c41
MD5 (egcs/egcs-chill-19990808.tar.gz) = 03142461d1c17812bb1a7c6f3f3bfb6d
MD5 (egcs/egcs-chill-19990824.tar.gz) = 40917a49e8d1ddb21fe54f94d1e1b369
MD5 (egcs/egcs-chill-19990830-19990907.diff.gz) = a3760edef8f73b848611a6688b3b314a
MD5 (egcs/egcs-chill-19990830.tar.gz) = 0c77517253889d833f271b28b3a57b6f
MD5 (egcs/egcs-chill-19990907-19990913.diff.gz) = 634b60099e867741ec88d5024dc6a6d8
MD5 (egcs/egcs-chill-19990907.tar.gz) = 2c6a7e720d008fce581d03b321471887
MD5 (egcs/egcs-chill-19990913.tar.gz) = 9841cee25cb7702faa88f4ee7c74f3c5
MD5 (egcs/egcs-chill-19991025.tar.gz) = 517ff3654a58e9ba63c65061921e524e
MD5 (egcs/egcs-chill-19991110.tar.gz) = 48c5f3291a9b142ace41360d7d5eeaa6
MD5 (egcs/egcs-core-19990808.tar.gz) = ce793e534db138f1228e0256a81dfd6a
MD5 (egcs/egcs-core-19990824.tar.gz) = 86cebb35b0ee1ba08e5d49bd72577ca4
MD5 (egcs/egcs-core-19990830-19990907.diff.gz) = ac591d3c8faf0ded25c6fc47f3eccf24
MD5 (egcs/egcs-core-19990830.tar.gz) = 6a85d522f368f301ba64d9ebe4ea196f
MD5 (egcs/egcs-core-19990907-19990913.diff.gz) = 2650e5561cfd2b4953b853d32b5ecae2
MD5 (egcs/egcs-core-19990907.tar.gz) = 3ea185f2160d37d4642e43c5790728e2
MD5 (egcs/egcs-core-19990913.tar.gz) = 4af2604ec4b8ae9a6d803b3263cd4283
MD5 (egcs/egcs-core-19991025.tar.gz) = 00b1aabac681a54a0e96ee3fb96658bd
MD5 (egcs/egcs-core-19991110.tar.gz) = 84f799ff559c69b30746297bbbb025ea
MD5 (egcs/egcs-g++-19990808.tar.gz) = a3881301cfa388b42a4d70ec4574ff45
MD5 (egcs/egcs-g++-19990824.tar.gz) = 814367c2590221c6089ea001ab3f18a1
MD5 (egcs/egcs-g++-19990830-19990907.diff.gz) = 3b90c07c52b8141c61809eaf35ed77e8
MD5 (egcs/egcs-g++-19990830.tar.gz) = f9a674b5c8c5298d3a11b152a48ad430
MD5 (egcs/egcs-g++-19990907-19990913.diff.gz) = 80a310f125872d652e32d3b3c703d117
MD5 (egcs/egcs-g++-19990907.tar.gz) = df1a707bf4828796a8e37e720f3e537e
MD5 (egcs/egcs-g++-19990913.tar.gz) = 31f7b610073f6465328f5dd118c0e3da
MD5 (egcs/egcs-g++-19991025.tar.gz) = 477b8b1bca6a0f6e7666b140387b384f
MD5 (egcs/egcs-g++-19991110.tar.gz) = ea1c5a9dbb4d76d1d2525580fc725263
MD5 (egcs/egcs-g77-19990808.tar.gz) = e71e3ae219ac104a9b082702fcf3124a
MD5 (egcs/egcs-g77-19990824.tar.gz) = 131b269382aeeba14285c73bbefebbd2
MD5 (egcs/egcs-g77-19990830-19990907.diff.gz) = decf1274cee7dd9a48b22fc13675dc24
MD5 (egcs/egcs-g77-19990830.tar.gz) = 6cd7b2bd494f7d7018af07d5f3f78847
MD5 (egcs/egcs-g77-19990907-19990913.diff.gz) = 3282082a02e11671bd18fd8432bc1eec
MD5 (egcs/egcs-g77-19990907.tar.gz) = 427368f23412fe44c312d21d66180104
MD5 (egcs/egcs-g77-19990913.tar.gz) = 7153f416c9b4ffd395423b2500cbf859
MD5 (egcs/egcs-g77-19991025.tar.gz) = a5822c9effbcccd9ec0ac2e99b070aaf
MD5 (egcs/egcs-g77-19991110.tar.gz) = 07c65a4f071590b3013f0452cdb0116c
MD5 (egcs/egcs-java-19990808.tar.gz) = d3c5e59bbb4ccc466c403617826ea64c
MD5 (egcs/egcs-java-19990824.tar.gz) = dbe6d831d393660615fadb3a17b3b405
MD5 (egcs/egcs-java-19990830-19990907.diff.gz) = 09f846554e7cdcd600bf0860b83b69ba
MD5 (egcs/egcs-java-19990830.tar.gz) = 74601a42084c679f363c7cfcc4bccc5c
MD5 (egcs/egcs-java-19990907-19990913.diff.gz) = 25b60fd2d6dbe196a5cfac4204e40e94
MD5 (egcs/egcs-java-19990907.tar.gz) = 4747d2e1cfea13aa7e19ffd7b957f827
MD5 (egcs/egcs-java-19990913.tar.gz) = 0a16a45647475fdd724a532e9619acfe
MD5 (egcs/egcs-java-19991025.tar.gz) = 3c0f42ff4f98d41fc0be62eeb01c9e47
MD5 (egcs/egcs-java-19991110.tar.gz) = 2ee9273bc569269998f9ac1e961cac67
MD5 (egcs/egcs-objc-19990808.tar.gz) = 2566a3372b124f4b581004765924fee0
MD5 (egcs/egcs-objc-19990824.tar.gz) = bfc49835762aa807e16f16201281bc60
MD5 (egcs/egcs-objc-19990830-19990907.diff.gz) = 824574530c7870feddf7421b12baa589
MD5 (egcs/egcs-objc-19990830.tar.gz) = a94e42f6a7dff26dd3d8c13942582bd2
MD5 (egcs/egcs-objc-19990907-19990913.diff.gz) = a1a96b99e966d1b6baf31b05a92e7298
MD5 (egcs/egcs-objc-19990907.tar.gz) = 4626ead587e39fd2e489db6c8871024e
MD5 (egcs/egcs-objc-19990913.tar.gz) = 1739687033115eacf33ae7efb2a74c7b
MD5 (egcs/egcs-objc-19991025.tar.gz) = 3052957f397f2385eed090ae17f2faff
MD5 (egcs/egcs-objc-19991110.tar.gz) = d4e71cd48956bf699adc775ee930cd1a
MD5 (egcs/egcs-tests-19990830-19990907.diff.gz) = 39d407e9a8d62e1e2e8345a0207880a7
MD5 (egcs/egcs-tests-19990907-19990913.diff.gz) = 9c57f300f9524a0bf01e0208283f6c82
RMD160 (egcs/egcs-19990808.tar.gz) = cfce8091623077660bc18d32c099686af588d0dc
RMD160 (egcs/egcs-19990824.tar.gz) = f7cc3d41bed23503c3bbd3efc4d774450c54a6f0
RMD160 (egcs/egcs-19990830-19990907.diff.gz) = 1fc60d30372a20d0291782facd4028d12d362b56
RMD160 (egcs/egcs-19990830.tar.gz) = 2a3e91c865b41fa29e4dc3f1c206e011812ee65f
RMD160 (egcs/egcs-19990907-19990913.diff.gz) = f0e8ce85e4294e677a4db909b8988e606c753296
RMD160 (egcs/egcs-19990907.tar.gz) = d54de604f4f22d334db6539b58239e8c986d62b8
RMD160 (egcs/egcs-19990913.tar.gz) = 4b681e7b85e51e434c8d78306ad84c0d16baf785
RMD160 (egcs/egcs-19991025.tar.gz) = a27e929735b21caeb03d3f5674fd4483512bf98f
RMD160 (egcs/egcs-19991110.tar.gz) = 7b36430abde2e649208a9bc04a6b77bd2349a861
RMD160 (egcs/egcs-chill-19990808.tar.gz) = a717848fd3d8ec78c6170302c5e53bfd8bf0813f
RMD160 (egcs/egcs-chill-19990824.tar.gz) = 837df8a00c0731c736fe8e6bf1aff1e79de3639d
RMD160 (egcs/egcs-chill-19990830-19990907.diff.gz) = 433c92c3faeb4e9664bfda0c9c810b3c713b198e
RMD160 (egcs/egcs-chill-19990830.tar.gz) = 22f183f420b708b3a650a5645af90379fa1d7d18
RMD160 (egcs/egcs-chill-19990907-19990913.diff.gz) = ab1a0d9b44bcad91f96c2f9d58fec17d3be9fd03
RMD160 (egcs/egcs-chill-19990907.tar.gz) = d5eadf9294772c82dbb95fe5dfed4ee844c72e1c
RMD160 (egcs/egcs-chill-19990913.tar.gz) = 5db9d5247594b9e985c49d099a49f3a6dcc8921a
RMD160 (egcs/egcs-chill-19991025.tar.gz) = 63ab5c2103d3b67459fcb68c04b308dacb068f73
RMD160 (egcs/egcs-chill-19991110.tar.gz) = 859b005fdf4f257e1452c0384f67cd63d748faac
RMD160 (egcs/egcs-core-19990808.tar.gz) = f05547f85ee6c693850ec6c619c7ca63ea4ff0f8
RMD160 (egcs/egcs-core-19990824.tar.gz) = 3ac15251012223f40a2fc03994f145d22c406e40
RMD160 (egcs/egcs-core-19990830-19990907.diff.gz) = 58c3d005a4d81baf901e4cc5105a2ac717567ae2
RMD160 (egcs/egcs-core-19990830.tar.gz) = b7f9e94421a42a3ef960cab010bb3a161698f811
RMD160 (egcs/egcs-core-19990907-19990913.diff.gz) = 66d8266f81e8c9ef853ede96992fac2a561b69b2
RMD160 (egcs/egcs-core-19990907.tar.gz) = 0e3e3db9a606f6369eabc27b22131ba6fcdc95b6
RMD160 (egcs/egcs-core-19990913.tar.gz) = 74a88bcaa4ad27d4bd92d8991941696f41ef6e09
RMD160 (egcs/egcs-core-19991025.tar.gz) = 78db24cf6b578845fa2928c9a098acd94ecd1708
RMD160 (egcs/egcs-core-19991110.tar.gz) = eb0c6b09cbde00fec6e7ef00ab99a576856fe440
RMD160 (egcs/egcs-g++-19990808.tar.gz) = 653420f771be7d145bf2ba02cea71b5bec1af2d2
RMD160 (egcs/egcs-g++-19990824.tar.gz) = a2956d1774e1d5dd855138f9bcd772e8b90bd648
RMD160 (egcs/egcs-g++-19990830-19990907.diff.gz) = 7063c52170cc2b7ea23656e8af383f8d271db440
RMD160 (egcs/egcs-g++-19990830.tar.gz) = 2cc8b2c1df9bacefb2d84893d437cc5bbade769f
RMD160 (egcs/egcs-g++-19990907-19990913.diff.gz) = 80ccbd18ca13f1da8bb94ff3a0020adcb7d8b21c
RMD160 (egcs/egcs-g++-19990907.tar.gz) = 0e4ac27806f8388e833d7e06090e2e52f8181eea
RMD160 (egcs/egcs-g++-19990913.tar.gz) = e86daa7f654bc62ca73e7cd5c306082c318f9e55
RMD160 (egcs/egcs-g++-19991025.tar.gz) = 3dff1c9df397c876df4226b9c8de966cf7a389d1
RMD160 (egcs/egcs-g++-19991110.tar.gz) = b4f1220de031b4d23b4d69563b1a1a1e16a6666d
RMD160 (egcs/egcs-g77-19990808.tar.gz) = d22b1f5348736ea0cbade98c17d9d115df78262f
RMD160 (egcs/egcs-g77-19990824.tar.gz) = f4b818459fc938f95aaac537ea375c6e36e480d1
RMD160 (egcs/egcs-g77-19990830-19990907.diff.gz) = 05f4d67a6a486bd104b807e0c930ffb0e81fff1c
RMD160 (egcs/egcs-g77-19990830.tar.gz) = 22e116b9dfbe64058556f4c27489e30e0822ed6f
RMD160 (egcs/egcs-g77-19990907-19990913.diff.gz) = 77139ef2adaddd660c8d7359ad311e67dd9f6585
RMD160 (egcs/egcs-g77-19990907.tar.gz) = c6a09fafa03bf6595444ade4a5971dd5d6cf8a80
RMD160 (egcs/egcs-g77-19990913.tar.gz) = 683e97bbd56e8b294db026ef2e06f5536fadfaa4
RMD160 (egcs/egcs-g77-19991025.tar.gz) = d0ce194d699330bb4dc416afd579e28a630762a2
RMD160 (egcs/egcs-g77-19991110.tar.gz) = 2969095b30cd49e907f20376a9a7e7af99c881ab
RMD160 (egcs/egcs-java-19990808.tar.gz) = f69f0376d79bfbe4ee6c223fa3006f445ad33db0
RMD160 (egcs/egcs-java-19990824.tar.gz) = 6dd71b6b9def33f1b0e540c78ee44d0fe421afcb
RMD160 (egcs/egcs-java-19990830-19990907.diff.gz) = c6511726d88e146787d6834fb821a988151ba691
RMD160 (egcs/egcs-java-19990830.tar.gz) = 4f22f54b728e110eaae6e1395e88e8c6590bb965
RMD160 (egcs/egcs-java-19990907-19990913.diff.gz) = 7c742ea781c8effe2765d0c7fa7324617cc3bc71
RMD160 (egcs/egcs-java-19990907.tar.gz) = cf3973521728a0d957ede3d027b90c3395071c87
RMD160 (egcs/egcs-java-19990913.tar.gz) = c2101eb164483d7e1c249d0723e7e4e0caae1f9c
RMD160 (egcs/egcs-java-19991025.tar.gz) = 2af7ea018052e1d9dea55c4db152a94c63469090
RMD160 (egcs/egcs-java-19991110.tar.gz) = e915c58034906d64808a34db3fdb13806227f8de
RMD160 (egcs/egcs-objc-19990808.tar.gz) = 589f05b6b539303630b75fd2a851c4cecd7f1a64
RMD160 (egcs/egcs-objc-19990824.tar.gz) = 029a53c7e1fd3eddeb2ac9c9656e62d8eb468f72
RMD160 (egcs/egcs-objc-19990830-19990907.diff.gz) = caa47855c331abfdee09be54aa313133c2be12ea
RMD160 (egcs/egcs-objc-19990830.tar.gz) = 69dca45f0b1121eb9ac6548a539c591ccf38e1a6
RMD160 (egcs/egcs-objc-19990907-19990913.diff.gz) = b02edc9149de21a1fe6e61e751ff4027c2020844
RMD160 (egcs/egcs-objc-19990907.tar.gz) = 0260a70efc2aed28f8a0b609eb8307a1733bc3ca
RMD160 (egcs/egcs-objc-19990913.tar.gz) = c33ebfa7bdd9b4264d5f5c78f0eb9cea7f90bffb
RMD160 (egcs/egcs-objc-19991025.tar.gz) = 0403bb5d9484e2c7ffafda1b1804c2d96e2eed25
RMD160 (egcs/egcs-objc-19991110.tar.gz) = 80e1f7248b307d026fbea5ee6d2b6c906990f708
RMD160 (egcs/egcs-tests-19990830-19990907.diff.gz) = 04558597e73e9f899d5152b2cd171e617c248342
RMD160 (egcs/egcs-tests-19990907-19990913.diff.gz) = 6a5fe7e234512037e553383eb6cb7656c1505308
SHA1 (egcs/egcs-19990808.tar.gz) = 262103092b44d312aac64d9dddba08e51cb29814
SHA1 (egcs/egcs-19990824.tar.gz) = adb3b12a152cfba9846b30da173854cfba3fd55c
SHA1 (egcs/egcs-19990830-19990907.diff.gz) = c05efc52db53f8ea583b169d45c760a8f767f954
SHA1 (egcs/egcs-19990830.tar.gz) = 89004992dcf396914c496ee86120215ab1e631b3
SHA1 (egcs/egcs-19990907-19990913.diff.gz) = 70515b4e4097c98be072cf8e5209e232db5cee82
SHA1 (egcs/egcs-19990907.tar.gz) = 0367e1f30e5f1ffab95291a33412657ab64f7cb8
SHA1 (egcs/egcs-19990913.tar.gz) = 04ad5141ad75df3ca96e6d1afae569779dd31c29
SHA1 (egcs/egcs-19991025.tar.gz) = ded72936f8e012cd7adf6c114bd351c726b9d712
SHA1 (egcs/egcs-19991110.tar.gz) = 6fa7dc2da896d93a527ada8eebe492da00d1278d
SHA1 (egcs/egcs-chill-19990808.tar.gz) = 2d0207e5836cd36864723c2d1bc993c2ce82a4b1
SHA1 (egcs/egcs-chill-19990824.tar.gz) = 6e7e5a1c09710c72697adcf839ffc9141acddad2
SHA1 (egcs/egcs-chill-19990830-19990907.diff.gz) = 1fc12ea0688944e5df6495645146b8b3d81a0b0a
SHA1 (egcs/egcs-chill-19990830.tar.gz) = 89f7a5ddb23048187b4c4d93c3af758c117cbde1
SHA1 (egcs/egcs-chill-19990907-19990913.diff.gz) = eefe38683fe1f06ed2f7e8d94e6da61f71a93d54
SHA1 (egcs/egcs-chill-19990907.tar.gz) = c611aac3bf22ff1f31140e601ba45f4cb38df20f
SHA1 (egcs/egcs-chill-19990913.tar.gz) = 4c5f457fd724b4be1c78e7978782f462a798d580
SHA1 (egcs/egcs-chill-19991025.tar.gz) = 3ce96c5faf69dce3cf7145aa955f28ff79734a18
SHA1 (egcs/egcs-chill-19991110.tar.gz) = 469fdaf17353d88eaeda6461c98190732ab2407b
SHA1 (egcs/egcs-core-19990808.tar.gz) = 8d91d8475210d07a918f0ffbef2dd6bd76592966
SHA1 (egcs/egcs-core-19990824.tar.gz) = af5f42558adf4eb433d7522e7e6266ab0804fd2a
SHA1 (egcs/egcs-core-19990830-19990907.diff.gz) = 7d60ef14aec6ea6cf2b54f1bd389a50d0ad67f62
SHA1 (egcs/egcs-core-19990830.tar.gz) = 4cf08c0cfdc00f9d5bb6fddd5cc53fdb4a1bef01
SHA1 (egcs/egcs-core-19990907-19990913.diff.gz) = b5caafac7aab79b6b443cf4b59d29fa4a40ade24
SHA1 (egcs/egcs-core-19990907.tar.gz) = ba22bc678a3ff0972f001eaffb5c9c955a7ccf4b
SHA1 (egcs/egcs-core-19990913.tar.gz) = 12144b83c6a5f79d212dada9a01605ccecdf7e3e
SHA1 (egcs/egcs-core-19991025.tar.gz) = e21ab322b297330abe37be6a699412391ccccac5
SHA1 (egcs/egcs-core-19991110.tar.gz) = d6035e54b35a7ad4738b7b03e3e86f6f1a7855fc
SHA1 (egcs/egcs-g++-19990808.tar.gz) = d11f76a0646d21ef21eaca0ab2f7f07dded613e1
SHA1 (egcs/egcs-g++-19990824.tar.gz) = 26d754074af1da5252fc92c304eb9fa93f807ca9
SHA1 (egcs/egcs-g++-19990830-19990907.diff.gz) = 1c184834e941eb6a4868551244e84a6e4cd2b478
SHA1 (egcs/egcs-g++-19990830.tar.gz) = f8586cfee8894318a46e969e6035d827c77b11d1
SHA1 (egcs/egcs-g++-19990907-19990913.diff.gz) = bd95b4e82fc206fb5682dc736bb720d081d455da
SHA1 (egcs/egcs-g++-19990907.tar.gz) = a7d2902982506ab66469c68ed8b6bb458fb8eb7a
SHA1 (egcs/egcs-g++-19990913.tar.gz) = 8e2842894d07b7c5581920a0c3b5178a1e6cc0f1
SHA1 (egcs/egcs-g++-19991025.tar.gz) = 13286f12d7c7cc5ef4198fbf86721a5ef504688b
SHA1 (egcs/egcs-g++-19991110.tar.gz) = a9ab09d8c45357618c2d17538e88a3976bb40190
SHA1 (egcs/egcs-g77-19990808.tar.gz) = 142f19b83e51e9342b35a20e9bb98459ff307f14
SHA1 (egcs/egcs-g77-19990824.tar.gz) = 03f985da250f98c063f7803b2dd2a3c9c3308671
SHA1 (egcs/egcs-g77-19990830-19990907.diff.gz) = 9d7ad8723551d0c4e4563c361a0a7324a194d8be
SHA1 (egcs/egcs-g77-19990830.tar.gz) = 1f9e149cdf0709133b63b5ce925638acc7459e90
SHA1 (egcs/egcs-g77-19990907-19990913.diff.gz) = 670a2f6915f4b6839fbdddb9da9417e13b2f0f76
SHA1 (egcs/egcs-g77-19990907.tar.gz) = 7a41dc1da68b4edd60efbac931b6c839b6a253b9
SHA1 (egcs/egcs-g77-19990913.tar.gz) = 00e611c2f7b0c6832c58687d8f04bcf7c128fc41
SHA1 (egcs/egcs-g77-19991025.tar.gz) = b4ca27ba7a139f8727ce2286a874edcd9ce88ed8
SHA1 (egcs/egcs-g77-19991110.tar.gz) = cd3e8ad672ae752fd1b610c471acab6c17cc1a21
SHA1 (egcs/egcs-java-19990808.tar.gz) = d9083a6579c0c58627942537c4380138079ea40f
SHA1 (egcs/egcs-java-19990824.tar.gz) = 133b92ee761a52a5916d9e3d0b9cb6557ae0ef08
SHA1 (egcs/egcs-java-19990830-19990907.diff.gz) = b462a6bb28b93e663fa92a1123246c9807ef1e65
SHA1 (egcs/egcs-java-19990830.tar.gz) = 746e82f33c4f8c3b67063c77504178f7b15d6b7c
SHA1 (egcs/egcs-java-19990907-19990913.diff.gz) = 0caea2623170af9b9c2b5fec4abc77284b4620ff
SHA1 (egcs/egcs-java-19990907.tar.gz) = 8fcbd5ea57af69f3fe6a4f62546f27ab4dc44e7e
SHA1 (egcs/egcs-java-19990913.tar.gz) = d031843cf23790e4079a8cf7cd7c3f2e2f077de4
SHA1 (egcs/egcs-java-19991025.tar.gz) = 416811b540ac0e75e9b39121b0a20500563c4279
SHA1 (egcs/egcs-java-19991110.tar.gz) = b529892d4d47855e7f563b113958d40eeb4015e7
SHA1 (egcs/egcs-objc-19990808.tar.gz) = 4f2054f40e6f3f7fcb9c7b0b9f45a1a579dbc191
SHA1 (egcs/egcs-objc-19990824.tar.gz) = fa29ddfa21753f9e00698fd947a7b349db035ab2
SHA1 (egcs/egcs-objc-19990830-19990907.diff.gz) = 0c83112d60608f6d0e5245aafced02df707cb4a8
SHA1 (egcs/egcs-objc-19990830.tar.gz) = 8bc2bc20e3eb3ed98e354afb9ed0c6f7dff28230
SHA1 (egcs/egcs-objc-19990907-19990913.diff.gz) = 22efd67b1b981de41a39ccfde7729d43e985e594
SHA1 (egcs/egcs-objc-19990907.tar.gz) = 01a96d77e054d6e01b80a53eefbbd3d50d7aa943
SHA1 (egcs/egcs-objc-19990913.tar.gz) = f1d5673433f839e9dc71392fe3306d5bcd6d4ea6
SHA1 (egcs/egcs-objc-19991025.tar.gz) = 98463b16d37fbd0c463de156e2a43e20eed9c1e8
SHA1 (egcs/egcs-objc-19991110.tar.gz) = f5e714b4760e25b05243451f123b8a132e35671e
SHA1 (egcs/egcs-tests-19990830-19990907.diff.gz) = c9352492cdcd8679376b10dd57a31c2ac04ecf30
SHA1 (egcs/egcs-tests-19990907-19990913.diff.gz) = b59c09d08688c1601eeb7a8a38c606618da76a31

View File

@ -1,27 +0,0 @@
Wed Sep 1 13:42:40 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
* libiberty.h (basename): OpenBSD has a correct prototype.
(xrealloc): Remove outdated comment.
--- include/libiberty.h.orig Wed Sep 1 13:40:21 1999
+++ include/libiberty.h Wed Sep 1 13:41:51 1999
@@ -36,7 +36,7 @@ extern char **dupargv PARAMS ((char **))
across different systems, sometimes as "char *" and sometimes as
"const char *" */
-#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__)
extern char *basename PARAMS ((const char *));
#else
extern char *basename ();
@@ -128,10 +128,7 @@ extern void xmalloc_set_program_name PAR
#endif
extern PTR xmalloc PARAMS ((size_t));
-/* Reallocate memory without fail. This works like xmalloc.
-
- FIXME: We do not declare the parameter types for the same reason as
- xmalloc. */
+/* Reallocate memory without fail. This works like xmalloc. */
extern PTR xrealloc PARAMS ((PTR, size_t));

View File

@ -1,6 +1,6 @@
--- gcc/config/rs6000/sysv4.h.orig Mon Apr 12 20:22:02 1999
+++ gcc/config/rs6000/sysv4.h Sat Apr 17 01:59:58 1999
@@ -161,6 +161,8 @@
--- gcc/config/rs6000/sysv4.h.orig Thu Oct 14 00:23:51 1999
+++ gcc/config/rs6000/sysv4.h Tue Nov 2 16:06:32 1999
@@ -161,6 +161,8 @@ do { \
rs6000_current_abi = ABI_NT; \
else if (!strcmp (rs6000_abi_name, "linux")) \
rs6000_current_abi = ABI_V4; \
@ -9,7 +9,7 @@
else if (!strcmp (rs6000_abi_name, "solaris")) \
rs6000_current_abi = ABI_SOLARIS; \
else \
@@ -973,6 +975,7 @@
@@ -975,6 +977,7 @@ do { \
%{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian} \
%{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
%{mcall-solaris: -mlittle -msolaris} \
@ -17,15 +17,20 @@
%{mcall-linux: -mbig} }}}}"
#ifndef CC1_ENDIAN_BIG_SPEC
@@ -999,6 +1002,7 @@
%{mcall-aixdesc: -mbig %{cc1_endian_big} } \
%{mcall-solaris: -mlittle %{cc1_endian_little} } \
%{mcall-linux: -mbig %{cc1_endian_big} } \
@@ -1002,9 +1005,10 @@ do { \
%{mcall-aixdesc: -mbig %(cc1_endian_big) } \
%{mcall-solaris: -mlittle %(cc1_endian_little) } \
%{mcall-linux: -mbig %(cc1_endian_big) } \
- %{!mcall-nt: %{!mcall-aixdesc: %{!mcall-solaris: %{!mcall-linux: \
+ %{mcall-openbsd: -mbig %{cc1_endian_big} } \
%{!mcall-nt: %{!mcall-aixdesc: %{!mcall-solaris: %{!mcall-linux: \
+ %{!mcall-nt: %{!mcall-aixdesc: %{!mcall-solaris: %{!mcall-linux: %{!mcall-openbsd: \
%(cc1_endian_default) \
}}}} \
@@ -1008,7 +1012,8 @@
- }}}} \
+ }}}}} \
}}}} \
%{mcall-solaris: -mregnames } \
%{mno-sdata: -msdata=none } \
@@ -1012,7 +1016,8 @@ do { \
%{!meabi: %{!mno-eabi: \
%{mrelocatable: -meabi } \
%{mcall-solaris: -mno-eabi } \
@ -33,9 +38,9 @@
+ %{mcall-linux: -mno-eabi } \
+ %{mcall-openbsd: -mno-eabi }}} \
%{msdata: -msdata=default} \
%{mno-sdata: -msdata=none}"
@@ -1038,8 +1043,9 @@
%{mno-sdata: -msdata=none} \
%{profile: -p}"
@@ -1043,8 +1048,9 @@ do { \
%{mmvme: %(link_start_mvme) } \
%{msim: %(link_start_sim) } \
%{mcall-linux: %(link_start_linux) } \
@ -46,7 +51,7 @@
#endif
#ifndef LINK_START_DEFAULT_SPEC
@@ -1095,8 +1101,9 @@
@@ -1100,8 +1106,9 @@ do { \
%{mmvme: %(link_os_mvme) } \
%{msim: %(link_os_sim) } \
%{mcall-linux: %(link_os_linux) } \
@ -57,7 +62,7 @@
#endif
#ifndef LINK_OS_DEFAULT_SPEC
@@ -1139,8 +1146,9 @@
@@ -1144,8 +1151,9 @@ do { \
%{mcall-solaris: %(cpp_endian_solaris) } \
%{mcall-nt: %(cpp_endian_little) } \
%{mcall-linux: %(cpp_endian_big) } \
@ -68,7 +73,7 @@
#undef CPP_ENDIAN_DEFAULT_SPEC
#define CPP_ENDIAN_DEFAULT_SPEC "%(cpp_endian_big)"
@@ -1152,8 +1160,9 @@
@@ -1157,8 +1165,9 @@ do { \
%{mmvme: %(cpp_os_mvme) } \
%{msim: %(cpp_os_sim) } \
%{mcall-linux: %(cpp_os_linux) } \
@ -79,7 +84,7 @@
#ifndef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC ""
@@ -1166,8 +1175,9 @@
@@ -1171,8 +1180,9 @@ do { \
%{mmvme: %(startfile_mvme) } \
%{msim: %(startfile_sim) } \
%{mcall-linux: %(startfile_linux) } \
@ -90,7 +95,7 @@
#undef STARTFILE_DEFAULT_SPEC
#define STARTFILE_DEFAULT_SPEC ""
@@ -1179,8 +1189,9 @@
@@ -1184,8 +1194,9 @@ do { \
%{mmvme: %(lib_mvme) } \
%{msim: %(lib_sim) } \
%{mcall-linux: %(lib_linux) } \
@ -101,7 +106,7 @@
#undef LIBGCC_SPEC
#define LIBGCC_SPEC "libgcc.a%s"
@@ -1196,8 +1207,9 @@
@@ -1201,8 +1212,9 @@ do { \
%{mmvme: ecrtn.o%s} \
%{msim: ecrtn.o%s} \
%{mcall-linux: %(endfile_linux) } \
@ -112,8 +117,8 @@
#undef ENDFILE_DEFAULT_SPEC
#define ENDFILE_DEFAULT_SPEC ""
@@ -1334,6 +1346,48 @@
-Asystem(unix) -Asystem(posix)"
@@ -1352,6 +1364,48 @@ do { \
#endif
#endif
+/* OpenBSD support. */
@ -161,7 +166,7 @@
/* Solaris support. */
/* For Solaris, Gcc automatically adds in one of the files
/usr/ccs/lib/values-Xc.o, /usr/ccs/lib/values-Xa.o, or
@@ -1398,6 +1452,8 @@
@@ -1416,6 +1470,8 @@ do { \
{ "lib_mvme", LIB_MVME_SPEC }, \
{ "lib_sim", LIB_SIM_SPEC }, \
{ "lib_linux", LIB_LINUX_SPEC }, \
@ -170,7 +175,7 @@
{ "lib_solaris", LIB_SOLARIS_SPEC }, \
{ "lib_default", LIB_DEFAULT_SPEC }, \
{ "startfile_ads", STARTFILE_ADS_SPEC }, \
@@ -1405,6 +1461,7 @@
@@ -1423,6 +1479,7 @@ do { \
{ "startfile_mvme", STARTFILE_MVME_SPEC }, \
{ "startfile_sim", STARTFILE_SIM_SPEC }, \
{ "startfile_linux", STARTFILE_LINUX_SPEC }, \
@ -178,7 +183,7 @@
{ "startfile_solaris", STARTFILE_SOLARIS_SPEC }, \
{ "startfile_default", STARTFILE_DEFAULT_SPEC }, \
{ "endfile_ads", ENDFILE_ADS_SPEC }, \
@@ -1412,6 +1469,7 @@
@@ -1430,6 +1487,7 @@ do { \
{ "endfile_mvme", ENDFILE_MVME_SPEC }, \
{ "endfile_sim", ENDFILE_SIM_SPEC }, \
{ "endfile_linux", ENDFILE_LINUX_SPEC }, \
@ -186,7 +191,7 @@
{ "endfile_solaris", ENDFILE_SOLARIS_SPEC }, \
{ "endfile_default", ENDFILE_DEFAULT_SPEC }, \
{ "link_path", LINK_PATH_SPEC }, \
@@ -1423,6 +1481,7 @@
@@ -1441,6 +1499,7 @@ do { \
{ "link_start_mvme", LINK_START_MVME_SPEC }, \
{ "link_start_sim", LINK_START_SIM_SPEC }, \
{ "link_start_linux", LINK_START_LINUX_SPEC }, \
@ -194,7 +199,7 @@
{ "link_start_solaris", LINK_START_SOLARIS_SPEC }, \
{ "link_start_default", LINK_START_DEFAULT_SPEC }, \
{ "link_os", LINK_OS_SPEC }, \
@@ -1431,6 +1490,7 @@
@@ -1449,6 +1508,7 @@ do { \
{ "link_os_mvme", LINK_OS_MVME_SPEC }, \
{ "link_os_sim", LINK_OS_SIM_SPEC }, \
{ "link_os_linux", LINK_OS_LINUX_SPEC }, \
@ -202,7 +207,7 @@
{ "link_os_solaris", LINK_OS_SOLARIS_SPEC }, \
{ "link_os_default", LINK_OS_DEFAULT_SPEC }, \
{ "cc1_endian_big", CC1_ENDIAN_BIG_SPEC }, \
@@ -1444,6 +1504,7 @@
@@ -1462,6 +1522,7 @@ do { \
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
{ "cpp_os_sim", CPP_OS_SIM_SPEC }, \
{ "cpp_os_linux", CPP_OS_LINUX_SPEC }, \

View File

@ -0,0 +1,16 @@
--- gcc/config/t-openbsd.orig Tue Nov 2 16:08:38 1999
+++ gcc/config/t-openbsd Tue Nov 2 16:39:07 1999
@@ -1,7 +1,11 @@
# Don't run fixproto
STMP_FIXPROTO =
-# We don't need GCC's own include files but we do need lang specific ones.
-USER_H = ${LANG_EXTRA_HEADERS}
+# We need some of GCC include files, since OpenBSD2.6 ships with headers
+# that don't know about the new stdarg handling.
+
+# TODO: provide updated version, instead of gcc cruft.
+USER_H = $(srcdir)/ginclude/stdarg.h \
+ $(srcdir)/ginclude/varargs.h $(LANG_EXTRA_HEADERS)
INSTALL_ASSERT_H =

View File

@ -4,7 +4,7 @@
-# Base shared lib for OpenBSD i386
-
+# Base shared lib for OpenBSD
+MAJOR_OFFSET=28
+MAJOR_OFFSET=29
+MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0
LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive

View File

@ -1,22 +0,0 @@
--- gcc/java/jvspec.c.orig Sat May 8 21:27:22 1999
+++ gcc/java/jvspec.c Sat May 8 21:25:51 1999
@@ -74,15 +74,15 @@
#define COMBINE_INPUTS 0
char jvgenmain_spec[] =
- "jvgenmain %i %{!pipe:%u.i} |\n\
- cc1 %{!pipe:%U.i} %1 \
+ "jvgenmain %i %{!pipe:%u.main.i} |\n\
+ cc1 %{!pipe:%U.main.i} %1 \
%{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\
%{g*} %{O*} \
%{v:-version} %{pg:-p} %{p} %{f*}\
%{aux-info*}\
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
- %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%U.s}} |\n\
- %{!S:as %a %Y -o %d%w%u%O %{!pipe:%U.s} %A\n }";
+ %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%U.main.s}} |\n\
+ %{!S:as %a %Y -o %d%w%u.main%O %{!pipe:%U.main.s} %A\n }";
void
lang_specific_driver (fn, in_argc, in_argv, in_added_libraries)

View File

@ -1,28 +1,36 @@
egcs is an experimental spin-off of gcc that started when people got
fed up waiting for gcc 2.8. As the C++ standard finally emerged,
egcs people strove trying to implement as much of it as possible.
Accordingly, egcs C++ compiler is more suitable for C++ development as
gnu gcc. Its library approaches the standard, template support is almost
complete, namespace support is coming in, it also includes a newer
scheduler (haifa) that gives improved results on HPRisc and Alpha
architecture.
There is some on-going work in egcs that makes it interesting to make
a recent snapshot available.
Egcs proved to be a succesful project, to the extent that it now is
the official gnu compiler, relabelled gcc 2.95 for its first release.
Notably, the standard C++ library has been updated to a version much closer
to the ANSI standard. The namespace support is much better than the
release version.
OpenBSD 2.6 ships with gcc 2.95.1, which should be adequate for most
people.
Also, there is some on-going work in improving numerical computations
with C++.
The main reason for the egcs/snapshot port is to make it easier for
interested parties to track current egcs development and report bugs
(specific or not to OpenBSD), so that when the next release comes, we
are ready to integrate it.
From a user point of view, you may need some features that the port
provides.
Finally, some flavors of the scheduler have been improved.
For instance, there is a new sparc scheduler that is not available as
a release yet.
There have been a lot of changes since gcc 2.95.1, this is just a quick
summary of a few:
On the other hand, work upon the integration of pgcc with mainline egcs
is not ready yet.
* the intel scheduler has been revamped. It's more efficient on hundreds
of little details,
* other arches have known important internal improvement. m68k pic support
should be better. HP-PA has most of PA2.0 support in,
* internal memory handling now uses a garbage collector. Eventually egcs
should become faster, more robust and less memory-hungry (this is already
the case in many circumstances),
* the back-end specifications have been tightened, so that many bugs have
been found,
* the C++ compiler now uses one-function-at-a-time tree representations.
More optimizations are possible,
* the design of varargs facilities has been completely changed,
* loads of new warnings and new optimizations.
See http://egcs.cygnus.com for more details.