]> gcc.gnu.org Git - gcc.git/blobdiff - libio/ChangeLog
configure.in: Create compatibility code in bits/libc-lock.h file.
[gcc.git] / libio / ChangeLog
index 44d41203d13d24f239f96fcf9ad5c20a2765f0ce..0ee838da096b73f0e60bf01fc0056a83588c5177 100644 (file)
@@ -1,3 +1,176 @@
+1997-10-15  Ulrich Drepper  <drepper@cygnus.com>
+
+       * configure.in: Create compatibility code in bits/libc-lock.h file.
+
+Thu Oct  9 07:08:41 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
+
+       * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
+       not defined.
+
+       * filedoalloc.c (_IO_file_doallocate): Don't call
+       _IO_cleanup_registration_needed if __linux__ is defined.
+
+       * iofclose.c (fclose): Make it weak alias of _IO_fclose if
+       __ELF__ is defined.
+
+       * iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf
+       if __ELF__ is defined.
+
+       * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
+       __ELF__ is defined.
+
+       * config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP.
+       (IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o
+       iovsprintf.o iovsscanf.o strops.o.
+
+Fri Oct  3 10:13:13 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * iostream.cc, libio.h: Convert other uses of #ifdef
+       _G_HAVE_PRINTF_FP to #if.
+
+1997-10-02  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
+
+Thu Oct  2 10:36:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * gen-params: Fix __printf_fp test.
+       * config/linuxlibc1.mt (gxx_includedir): Don't define.
+
+Thu Oct  2 10:36:26 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>
+
+       * config/linuxlibc1.mt (_G_CONFIG_H): Don't define.
+       * gen-params: Add test for __printf_fp.
+
+Sun Sep 28 12:09:04 1997  Mark Mitchell  <mmitchell@usa.net>
+
+        * iomanip.h: Use new friend <> syntax.
+
+Sun Sep 28 12:04:21 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * libio.h: Don't use _IO_LOCK_T if it's not defined.
+
+Fri Sep 26 20:56:41 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>
+
+       Based on a patch by H.J. Lu  (hjl@gnu.ai.mit.edu).
+
+       * Makefile.in (STDIO_OBJECTS): New. Defined as stdfiles.o.
+       (LIBIO_OBJECTS): Add $(STDIO_OBJECTS).
+       (PICFLAG): New, empty.  moved to here from config.shared.
+
+       * config.shared (DISTCLEAN): Add target-mkfrag.
+       (PICFLAG): Removed.
+
+       * configure.in (*-linux-gnulibc1): Remove warning.
+       (*-linux-gnu): Use linux.mt mtsafe.mt.
+       (alpha-*-linux*): Use mh-elfalphapic.
+
+       * gen-params (_G_ullong): Also check unsigned long long int.
+       (_G_llong): Also check long long int.
+
+       * libio.h (_IO_lock_t): Add support for the Linux libc 5.
+       (_IO_peekc): Defined as _IO_peekc_unlocked if _IO_MTSAFE_IO
+       is not defined.
+
+       * iostream.cc (__cvt_double): Fix a typo in declaration.
+       (info): Use expr != 0 to initialize the bit fields. Don't
+       initialize "extra" for the Linux libc 5.
+
+       * streambuf.h (_G_NEED_STDARG_H): Changed from _IO_NEED_STDARG_H.
+
+       * config/linux.mt (STDIO_OBJECTS): New, empty.
+       (MT_CFLAGS): Removed.
+
+       * config/linuxlibc1.mt: Rewrite.  it's identical to linux.mt but
+       IO_OBJECTS mentions files not in early libc5 versions.
+
+       * config/mtsafe.mt: New.
+
+       * dbz/Makefile.in (check): Support make -j.
+
+       * tests/tFile.cc (tempfile): Fix a typo.
+
+Fri Sep 19 11:52:25 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.
+
+1997-09-17 04:08  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iostream.cc: Add forward declaration for __cvt_double.
+       * libio.h: Define _IO_USE_DTOA is _G_HAVE_PRINTF_FP is not defined.
+       * strops.c (_IO_str_count): Correct last change.
+
+1997-09-17 02:50  Ulrich Drepper  <drepper@cygnus.com>
+
+       * libioP.h: Define __set_errno if not already defined.
+       * fileops.c: Don't try to define __set_errno, it's already defined.
+
+1997-09-15 02:37  Ulrich Drepper  <drepper@cygnus.com>
+
+       * config/linux.mt: Rewrite for use with glibc 2.
+       * config/linuxlibc1.mt: Old content of linux.mt, fir libc4 and
+       libc5.
+
+       * config.shared (COMPILE.c): Allow new flags in MT_CFLAGS be
+       passed.
+       (COMPILE.cc): Likewise.
+
+       * configure.in (*-linux*): Remove goal.  We now have...
+       (*-linux-gnulibc1): For libc4 and libc5.  Emit warning.
+       (*-linux-gnu)): For glibc 2.
+       Create links to find headers for multi-threading if necessary.
+
+       * fileops.c: Make thread-safe by using _IO_cleanup_region_start
+       etc to handle cancelation.  Acquire locks in functions which are
+       called directly.
+       (_IO_file_read, _IO_file_write): Remove dead code.
+
+       * include/empty.h: Define stub macros for locking.
+
+       * iolibio.h: Add prototypes for obstack printing functions.
+
+       * ioseekoff.c (_IO_seekoff): Lock stream before working.
+       * ioseekpos.c (_IO_seekpos): Likewise.
+
+       * iostream.cc: Add support for long double I/O.
+       Use __printf_fp from glibc is available.
+       Use _IO_cleanup_region_start to handle cancelation correctly.
+       * iostream.h (class ostream): Change opfx and osfx to lock/unlock
+       stream
+       (class istream): Likewise for ipfx, ipfx0, ipfx1, and isfx.
+       Declare new function lock and unlock for ostream and istream.
+       * osform.cc: Use _IO_cleanup_region_start to handle cancelation
+       correctly.
+
+       * libio.h: Update from glibc version.  Pretty printing.
+       * libioP.h: Likewise.
+
+       * outfloat.c: Only compile if _IO_USE_DTOA is defined.
+
+       * stdio/feof.c: Make thread safe.
+       * stdio/ferror.c: Likewise.
+       * stdio/getc.c : Likewise.
+       * stdio/putc.c : Likewise.
+       * stdio/stdio.h: Declare function of thread-safe API.
+
+       * stdio/obprintf.c: New file.
+       * stdio/vasprintf.c: New file.
+
+       * stdio-lock.h: Removed.
+
+       * stdstrbufs.c: Add definitions for thread-safe streams.
+
+       * streambuf.cc: Initialize lock.
+
+       * strops.c (_IO_str_count): Undo last change.
+
+       * tests/tFile.cc: Support parallel builds by avoiding fixed
+       name for test file.
+
+Thu Sep 11 18:43:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
+
 Mon Sep  8 01:30:27 1997  Weiwen Liu    <liu@hepunix.physics.yale.edu>
 
        * libio.h: Fix typo.
This page took 0.030147 seconds and 5 git commands to generate.