diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/gcc/cp/ChangeLog egcs-1.1.2/gcc/cp/ChangeLog *** egcs-1.1.1/gcc/cp/ChangeLog Mon Nov 16 11:30:11 1998 --- egcs-1.1.2/gcc/cp/ChangeLog Sat Mar 13 18:38:24 1999 *************** *** 1,3 **** --- 1,23 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + + Sun Feb 21 20:38:00 1999 H.J. Lu (hjl@gnu.org) + + * decl2.c (start_objects): Make file scope constructors and + destructors local to the file if ASM_OUTPUT_CONSTRUCTOR and + ASM_OUTPUT_DESTRUCTOR are defined. + + Sat Feb 20 15:08:42 1999 Jeffrey A Law (law@cygnus.com) + + 1999-01-25 Martin von Löwis + * tree.c (equal_functions): New function. + (ovl_member): Call it. + + Sat Feb 6 17:00:48 1999 Jeffrey A Law (law@cygnus.com) + + * typeck2.c: Update email addresses. + 1998-11-16 Jason Merrill * typeck2.c (my_friendly_abort): Don't fatal twice in a row. diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/gcc/cp/decl2.c egcs-1.1.2/gcc/cp/decl2.c *** egcs-1.1.1/gcc/cp/decl2.c Mon Nov 9 01:32:04 1998 --- egcs-1.1.2/gcc/cp/decl2.c Sun Feb 21 12:00:16 1999 *************** start_objects (method_type) *** 2943,2948 **** --- 2943,2954 ---- NULL_TREE), NULL_TREE, 0); + #if defined(ASM_OUTPUT_CONSTRUCTOR) && defined(ASM_OUTPUT_DESTRUCTOR) + /* It can be a static function as long as collect2 does not have + to scan the object file to find its ctor/dtor routine. */ + TREE_PUBLIC (current_function_decl) = 0; + #endif + store_parm_decls (); pushlevel (0); clear_last_expr (); diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/gcc/cp/tree.c egcs-1.1.2/gcc/cp/tree.c *** egcs-1.1.1/gcc/cp/tree.c Tue Jul 28 07:00:23 1998 --- egcs-1.1.2/gcc/cp/tree.c Sat Feb 20 06:13:36 1999 *************** static tree list_hash_lookup PROTO((int, *** 47,52 **** --- 47,53 ---- static void propagate_binfo_offsets PROTO((tree, tree)); static void unshare_base_binfos PROTO((tree)); static int avoid_overlap PROTO((tree, tree)); + static int equal_functions PROTO((tree, tree)); #define CEIL(x,y) (((x) + (y) - 1) / (y)) *************** build_overload (decl, chain) *** 1423,1428 **** --- 1424,1443 ---- return ovl_cons (decl, chain); } + /* Returns true iff functions are equivalent. Equivalent functions are + not identical only if one is a function-local extern function. + This assumes that function-locals don't have TREE_PERMANENT. */ + + static int + equal_functions (fn1, fn2) + tree fn1; + tree fn2; + { + if (!TREE_PERMANENT (fn1) || !TREE_PERMANENT (fn2)) + return decls_match (fn1, fn2); + return fn1 == fn2; + } + /* True if fn is in ovl. */ int *************** ovl_member (fn, ovl) *** 1433,1441 **** if (ovl == NULL_TREE) return 0; if (TREE_CODE (ovl) != OVERLOAD) ! return decls_match (ovl, fn); for (; ovl; ovl = OVL_CHAIN (ovl)) ! if (decls_match (OVL_FUNCTION (ovl), fn)) return 1; return 0; } --- 1448,1456 ---- if (ovl == NULL_TREE) return 0; if (TREE_CODE (ovl) != OVERLOAD) ! return equal_functions (ovl, fn); for (; ovl; ovl = OVL_CHAIN (ovl)) ! if (equal_functions (OVL_FUNCTION (ovl), fn)) return 1; return 0; } diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/gcc/cp/typeck2.c egcs-1.1.2/gcc/cp/typeck2.c *** egcs-1.1.1/gcc/cp/typeck2.c Mon Nov 16 11:30:13 1998 --- egcs-1.1.2/gcc/cp/typeck2.c Sat Feb 6 08:04:32 1999 *************** my_friendly_abort (i) *** 383,389 **** ack ("Internal compiler error."); else ack ("Internal compiler error %d.", i); ! ack ("Please submit a full bug report to `egcs-bugs@cygnus.com'."); ack ("See for details."); } else --- 383,389 ---- ack ("Internal compiler error."); else ack ("Internal compiler error %d.", i); ! ack ("Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'."); ack ("See for details."); } else *************** my_friendly_abort (i) *** 398,404 **** else error ("Internal compiler error %d.", i); ! error ("Please submit a full bug report to `egcs-bugs@cygnus.com'."); fatal ("See for details."); } --- 398,404 ---- else error ("Internal compiler error %d.", i); ! error ("Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'."); fatal ("See for details."); } diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/ChangeLog egcs-1.1.2/libio/ChangeLog *** egcs-1.1.1/libio/ChangeLog Mon Nov 23 00:47:28 1998 --- egcs-1.1.2/libio/ChangeLog Sat Mar 13 18:38:35 1999 *************** *** 1,3 **** --- 1,22 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + + Fri Mar 5 01:13:45 1999 H.J. Lu (hjl@gnu.org) + + * config/linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO + -D_G_HAVE_WEAK_SYMBOL. + + * genops.c: Add the proper weak alias if _G_STDIO_USES_LIBIO + and _G_HAVE_WEAK_SYMBOL are defined. + * iofclose.c: Likewise. + * iofeof.c: Likewise. + * ioferror.c: Likewise. + * iogetc.c: Likewise. + * ioputc.c: Likewise. + * iovsprintf.c: Likewise. + * iovsscanf.c: Likewise. + Mon Nov 23 09:44:26 1998 Richard Henderson * configure.in: Append mh-ppcpic and mh-elfalphapic as appropriate. diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/config/linuxlibc1.mt egcs-1.1.2/libio/config/linuxlibc1.mt *** egcs-1.1.1/libio/config/linuxlibc1.mt Tue Feb 17 12:54:12 1998 --- egcs-1.1.2/libio/config/linuxlibc1.mt Thu Mar 4 16:17:54 1999 *************** USER_INCLUDES=PlotFile.h SFile.h builtin *** 23,26 **** streambuf.h strfile.h strstream.h libio.h # A bad kludge ! MT_CFLAGS=-D_G_HAVE_MMAP --- 23,26 ---- streambuf.h strfile.h strstream.h libio.h # A bad kludge ! MT_CFLAGS=-D_G_HAVE_MMAP -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/genops.c egcs-1.1.2/libio/genops.c *** egcs-1.1.1/libio/genops.c Mon Jun 8 02:50:20 1998 --- egcs-1.1.2/libio/genops.c Thu Mar 4 16:17:45 1999 *************** __io_defs io_defs__; *** 937,942 **** --- 937,944 ---- #ifdef weak_alias weak_alias (_IO_cleanup, _cleanup) + #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) + void _cleanup () __attribute__ ((weak, alias ("_IO_cleanup"))); #endif #ifdef text_set_element diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/iofclose.c egcs-1.1.2/libio/iofclose.c *** egcs-1.1.1/libio/iofclose.c Thu Oct 16 08:30:23 1997 --- egcs-1.1.2/libio/iofclose.c Thu Mar 4 16:17:46 1999 *************** _IO_fclose (fp) *** 55,62 **** #ifdef weak_alias weak_alias (_IO_fclose, fclose) ! #else ! #ifdef __linux__ ! #pragma weak fclose = _IO_fclose ! #endif #endif --- 55,60 ---- #ifdef weak_alias weak_alias (_IO_fclose, fclose) ! #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) ! int fclose (_IO_FILE *) __attribute__ ((weak, alias("_IO_fclose"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/iofeof.c egcs-1.1.2/libio/iofeof.c *** egcs-1.1.1/libio/iofeof.c Sat Sep 6 00:42:56 1997 --- egcs-1.1.2/libio/iofeof.c Thu Mar 4 16:17:47 1999 *************** _IO_feof (fp) *** 40,43 **** --- 40,45 ---- #ifdef weak_alias weak_alias (_IO_feof, feof) + #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) + int feof (_IO_FILE *) __attribute__ ((weak, alias("_IO_feof"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/ioferror.c egcs-1.1.2/libio/ioferror.c *** egcs-1.1.1/libio/ioferror.c Sat Sep 6 00:42:57 1997 --- egcs-1.1.2/libio/ioferror.c Thu Mar 4 16:17:48 1999 *************** _IO_ferror (fp) *** 40,43 **** --- 40,45 ---- #ifdef weak_alias weak_alias (_IO_ferror, ferror) + #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) + int ferror (_IO_FILE *) __attribute__ ((weak, alias("_IO_ferror"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/iogetc.c egcs-1.1.2/libio/iogetc.c *** egcs-1.1.1/libio/iogetc.c Sat Sep 6 00:43:15 1997 --- egcs-1.1.2/libio/iogetc.c Thu Mar 4 16:17:49 1999 *************** _IO_getc (fp) *** 45,48 **** --- 45,50 ---- #ifdef weak_alias weak_alias (_IO_getc, getc) + #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) + int getc (_IO_FILE *) __attribute__ ((weak, alias("_IO_getc"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/ioputc.c egcs-1.1.2/libio/ioputc.c *** egcs-1.1.1/libio/ioputc.c Sat Sep 6 00:43:25 1997 --- egcs-1.1.2/libio/ioputc.c Thu Mar 4 16:17:50 1999 *************** _IO_putc (c, fp) *** 39,42 **** --- 39,44 ---- #ifdef weak_alias weak_alias (_IO_putc, putc) + #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) + int putc (int, _IO_FILE *) __attribute__ ((weak, alias("_IO_putc"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/iovsprintf.c egcs-1.1.2/libio/iovsprintf.c *** egcs-1.1.1/libio/iovsprintf.c Thu Oct 16 08:30:23 1997 --- egcs-1.1.2/libio/iovsprintf.c Thu Mar 4 16:17:52 1999 *************** _IO_vsprintf (string, format, args) *** 54,61 **** #ifdef weak_alias weak_alias (_IO_vsprintf, vsprintf) ! #else ! #ifdef __linux__ ! #pragma weak vsprintf = _IO_vsprintf ! #endif #endif --- 54,60 ---- #ifdef weak_alias weak_alias (_IO_vsprintf, vsprintf) ! #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) ! int vsprintf (char *, const char *, _IO_va_list) ! __attribute__ ((weak, alias("_IO_vsprintf"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/iovsscanf.c egcs-1.1.2/libio/iovsscanf.c *** egcs-1.1.1/libio/iovsscanf.c Wed Oct 22 18:17:55 1997 --- egcs-1.1.2/libio/iovsscanf.c Thu Mar 4 16:17:53 1999 *************** _IO_vsscanf (string, format, args) *** 51,58 **** #ifdef weak_alias weak_alias (_IO_vsscanf, __vsscanf) weak_alias (_IO_vsscanf, vsscanf) ! #else ! #ifdef __linux__ ! #pragma weak vsscanf = _IO_vsscanf ! #endif #endif --- 51,59 ---- #ifdef weak_alias weak_alias (_IO_vsscanf, __vsscanf) weak_alias (_IO_vsscanf, vsscanf) ! #elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL) ! int __vsscanf (const char *, const char *, _IO_va_list) ! __attribute__ ((weak, alias("_IO_vsscanf"))); ! int vsscanf (const char *, const char *, _IO_va_list) ! __attribute__ ((weak, alias("_IO_vsscanf"))); #endif diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/stdio/ChangeLog egcs-1.1.2/libio/stdio/ChangeLog *** egcs-1.1.1/libio/stdio/ChangeLog Tue Sep 16 09:01:19 1997 --- egcs-1.1.2/libio/stdio/ChangeLog Sat Mar 13 18:38:36 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + 1997-09-04 16:11 Ulrich Drepper * Makefile.in (STDIO_OBJECTS): Lose feof.o and ferror.o. Add getc.o diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/tests/ChangeLog egcs-1.1.2/libio/tests/ChangeLog *** egcs-1.1.1/libio/tests/ChangeLog Thu Dec 11 10:44:34 1997 --- egcs-1.1.2/libio/tests/ChangeLog Sat Mar 13 18:38:37 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + 1997-10-31 Brendan Kehoe * tFile.cc (t4): Cast TMPFILE to char* in the call to unlink, to diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libio/testsuite/ChangeLog egcs-1.1.2/libio/testsuite/ChangeLog *** egcs-1.1.1/libio/testsuite/ChangeLog Sat Jun 27 16:01:01 1998 --- egcs-1.1.2/libio/testsuite/ChangeLog Sat Mar 13 18:38:39 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + Sat Jun 27 23:59:35 1998 Carlo Wood * lib/libio.exp (test_libio): Reset ld_library_path before appending diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/ChangeLog egcs-1.1.2/libstdc++/ChangeLog *** egcs-1.1.1/libstdc++/ChangeLog Mon Nov 23 00:48:00 1998 --- egcs-1.1.2/libstdc++/ChangeLog Sat Mar 13 18:38:40 1999 *************** *** 1,3 **** --- 1,14 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + + Thu Feb 25 02:21:22 1999 Jeffrey A Law (law@cygnus.com) + + Thu Feb 18 19:53:17 1999 Marc Espie + * configure.in: Handle OpenBSD with and without threads. + * config/openbsd.ml: New file. + * config/openbsd.mt: New file. + Mon Nov 23 09:44:26 1998 Richard Henderson * configure.in: Append mh-ppcpic and mh-elfalphapic as appropriate. diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/config/openbsd.ml egcs-1.1.2/libstdc++/config/openbsd.ml *** egcs-1.1.1/libstdc++/config/openbsd.ml Wed Dec 31 16:00:00 1969 --- egcs-1.1.2/libstdc++/config/openbsd.ml Wed Feb 24 17:26:26 1999 *************** *** 0 **** --- 1,7 ---- + # Base shared lib for OpenBSD i386 + + LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink + SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive + SHDEPS = -lm + DEPLIBS = ../$(SHLIB) + diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/config/openbsd.mt egcs-1.1.2/libstdc++/config/openbsd.mt *** egcs-1.1.1/libstdc++/config/openbsd.mt Wed Dec 31 16:00:00 1969 --- egcs-1.1.2/libstdc++/config/openbsd.mt Wed Feb 24 17:26:27 1999 *************** *** 0 **** --- 1,3 ---- + # tell we want the mt-safe version + MT_CFLAGS = -D_IO_MTSAFE_IO -D_PTHREADS + diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/configure.in egcs-1.1.2/libstdc++/configure.in *** egcs-1.1.1/libstdc++/configure.in Mon Nov 23 00:48:01 1998 --- egcs-1.1.2/libstdc++/configure.in Wed Feb 24 17:26:25 1999 *************** if [ "${shared}" = "yes" ]; then *** 55,60 **** --- 55,61 ---- *-*-irix[56]*) frags="${frags} irix5.ml" ;; *-*-linux*aout*) ;; *-*-linux*) frags="${frags} linux.ml" ;; + *-*-openbsd*) frags="${frags} openbsd.ml" ;; *-*-sysv4*) frags="${frags} elf.ml" ;; *-*-solaris*) frags="${frags} sol2shm.ml" ;; *-*-sunos4*) frags="${frags} sunos4.ml" ;; *************** case "${target}" in *** 67,72 **** --- 68,77 ---- alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; *-*-linux-gnu) frags="${frags} linux.mt" ;; + *-*-openbsd*) + case "x${enable_threads}" in + xyes|xposix) frags="${frags} openbsd.mt" ;; + esac;; m68k-motorola-sysv) frags="${frags} delta.mt" ;; esac diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/stl/ChangeLog egcs-1.1.2/libstdc++/stl/ChangeLog *** egcs-1.1.1/libstdc++/stl/ChangeLog Sat Jul 11 20:18:37 1998 --- egcs-1.1.2/libstdc++/stl/ChangeLog Sat Mar 13 18:38:41 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + Fri Jul 10 15:20:09 1998 Klaus-Georg Adams * stl_tempbuf.h (temporary_buffer): Add missing typename. diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/tests/ChangeLog egcs-1.1.2/libstdc++/tests/ChangeLog *** egcs-1.1.1/libstdc++/tests/ChangeLog Thu Jul 16 18:29:43 1998 --- egcs-1.1.2/libstdc++/tests/ChangeLog Sat Mar 13 18:38:42 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + 1998-07-17 Jason Merrill * tmap.cc: Use less. diff -x de.gmo -x fr.gmo -Nrc3p egcs-1.1.1/libstdc++/testsuite/ChangeLog egcs-1.1.2/libstdc++/testsuite/ChangeLog *** egcs-1.1.1/libstdc++/testsuite/ChangeLog Sat Jun 27 16:01:33 1998 --- egcs-1.1.2/libstdc++/testsuite/ChangeLog Sat Mar 13 18:38:43 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 02:38:07 PST 1999 Jeff Law (law@cygnus.com) + + * egcs-1.1.2 Released. + Sun Jun 28 00:00:10 1998 Carlo Wood * lib/libstdc++.exp: Use global variable ld_library_path (not local)