Brendan Kehoe
6a4b833147
Don't make gperf depend upon libg++.
...
* config.shared (TOLIBGCXX) [DOING_GPERF]: Delete.
(LIBS) [DOING_GPERF]: Make it just `-L../libstdc++ -lstdc++'.
Bring over from devo.
From-SVN: r17249
1997-12-28 03:24:10 -07:00
Brendan Kehoe
07526eaed5
Bring over from changes from devo.
...
From-SVN: r17045
1997-12-11 11:46:55 -07:00
Brendan Kehoe
dd6f85cd5e
tFile.cc (t4): Cast TMPFILE to char* in the call to unlink...
...
* tFile.cc (t4): Cast TMPFILE to char* in the call to unlink, to
solve warning problems with vxworks headers that leave const off
their declarations.
Brought over from devo.
From-SVN: r17044
1997-12-11 11:44:36 -07:00
Brendan Kehoe
6564e475c6
libio.h (__P): Name its arg p' instead of
params'.
...
* libio.h (__P): Name its arg `p' instead of `params'.
Avoids problems with an unchanged Solaris math.h header.
Bring over from devo.
From-SVN: r17043
1997-12-11 11:41:22 -07:00
Michael Meissner
fc50a8b9f2
stdiostream.cc (sys_read): Declare ch with int type, rather than without a type.
...
* stdiostream.cc (sys_read): Declare ch with int type, rather than
without a type.
Bring over from devo.
From-SVN: r17042
1997-12-11 11:31:56 -07:00
H.J. Lu
f49b1654d3
* configure.in (target frags): Add *-linux-gnu.
...
From-SVN: r17041
1997-12-11 11:19:38 -07:00
H.J. Lu
a58248fa8a
streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr.
...
* streambuf.cc (streambuf::~streambuf): Don't delete _lock
for _IO_stdin/_IO_stdout/_IO_stderr.
From-SVN: r16972
1997-12-06 00:32:08 -07:00
Jeff Law
f2d765451e
release branch changes from 11-27 snapshot to egcs-1.0.
...
From-SVN: r16970
1997-12-05 15:13:17 -07:00
Jeffrey A Law
0632562c8a
Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
...
* Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
* config.shared (gxx_includedir): Remove default definition.
* config/linux.mt: Change gxx_includedir to gxx_include_dir.
* config/linuxaxp1.mt: Likewise.
From-SVN: r16786
1997-11-27 01:39:12 -07:00
Richard Henderson
20a2fbe20e
configure.in (target frags): Add powerpc*-linux-gnulibc1.
...
* configure.in (target frags): Add powerpc*-linux-gnulibc1.
(stdio-lock): Similarly.
* configure.in (target frags): Add alpha*-linux-gnulibc1.
(pic frags): Its alpha*- not alpha-.
(stdio-lock): Kill everything. Add alpha*-linux-gnulibc1.
* libio.h: Check __GLIBC_MINOR__ to find stdio-lock.h. If not
_IO_MTSAFE_IO & GLIBC, make sure the lock pointer is still there.
* libioP.h: Check __GLIBC_MINOR__ to find libc-lock.h.
* config/linuxaxp1-libc-lock.h: New file.
* config/linuxaxp1-stdio-lock.h: New file.
* config/linuxaxp1.mt: New file.
* gen-params (va_list): Check for and use __gnuc_va_list.
(NULL): Work around some linux kernel headers and redefine NULL.
From-SVN: r16769
1997-11-26 16:54:30 -07:00
H.J. Lu
8677f9876b
* stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
...
From-SVN: r16567
1997-11-18 09:53:45 -07:00
Oleg Krivosheev
a0e07e85ee
iomanip.h: Fix guiding decls.
...
Tue Nov 11 01:40:17 1997 Oleg Krivosheev <kriol@fnal.gov>
* iomanip.h: Fix guiding decls.
From-SVN: r16428
1997-11-11 04:43:06 -05:00
Jason Merrill
5da07ba3ac
* gen-params: Override NULL.
...
From-SVN: r16232
1997-10-29 23:00:21 -07:00
H.J. Lu
1181d2d553
libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined.
...
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
not defined.
* iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
__linux__ is defined instead of __ELF__
* config/linuxlibc1.mt (USER_INCLUDES): Add libio.h.
OK'd by Ulrich.
From-SVN: r16151
1997-10-22 19:17:58 -06:00
Jeff Law
1510f52e3e
configure.in: Create compatibility code in bits/libc-lock.h file.
...
* configure.in: Create compatibility code in bits/libc-lock.h file.
* 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.
From-SVN: r15931
1997-10-16 09:30:26 -06:00
Jason Merrill
c44e099f65
iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.
...
* iostream.cc, libio.h: Convert other uses of #ifdef
_G_HAVE_PRINTF_FP to #if.
From-SVN: r15836
1997-10-03 13:14:05 -04:00
Brendan Kehoe
808d0b1063
iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
...
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
... since it comes in defined, either 0 or 1
From-SVN: r15834
1997-10-02 18:52:19 -04:00
Jason Merrill
5a3a2567e9
[multiple changes]
...
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.
Getting closer...
From-SVN: r15833
1997-10-02 13:39:40 -04:00
Mark Mitchell
920253a3bc
iomanip.h: Use new friend <> syntax.
...
Sun Sep 28 12:09:04 1997 Mark Mitchell <mmitchell@usa.net>
* iomanip.h: Use new friend <> syntax.
From-SVN: r15775
1997-09-28 15:18:16 -04:00
Jason Merrill
e741306e3c
* libio.h: Don't use _IO_LOCK_T if it's not defined.
...
From-SVN: r15773
1997-09-28 15:08:43 -04:00
Jeff Law
dc09d4f07b
New file from Ulrich.
...
From-SVN: r15742
1997-09-26 22:07:24 -06:00
Ulrich Drepper
d604f4c6a3
libio changes from Ulrich to help "old linux" systems.
...
libio changes from Ulrich to help "old linux" systems. See ChangeLog
for details.
From-SVN: r15741
1997-09-26 22:07:00 -06:00
Jim Wilson
f1ee40b618
Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.
...
* Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.
Brought over from devo.
From-SVN: r15593
1997-09-19 20:43:51 -06:00
Ulrich Drepper
6c1d570678
Fix all problems reported by the test suite.
...
From-SVN: r15505
1997-09-17 02:10:30 +00:00
Ulrich Drepper
5ae9a80ae1
Handle __set_errno correctly.
...
From-SVN: r15502
1997-09-17 00:54:03 +00:00
Jeff Law
382738969d
More stuff from Uli.
...
From-SVN: r15487
1997-09-16 10:11:13 -06:00
Ulrich Drepper
e693cc28bb
Uli's libio/libstdc++ patches.
...
From-SVN: r15486
1997-09-16 10:01:55 -06:00
Jason Merrill
810b9f2c0e
* Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
...
From-SVN: r15424
1997-09-11 22:16:24 -04:00
Weiwen Liu
2ce72aa0a8
* libio.h: Fix typo.
...
From-SVN: r15170
1997-09-08 10:12:05 -06:00
Jim Wilson
44010f9161
linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
...
* linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
Should fix linux build problem.
From-SVN: r15142
1997-09-07 22:58:57 -06:00
Brendan Kehoe
dbfcb4beac
Insert libio rewrite and its various changes from devo.
...
From-SVN: r15129
1997-09-06 03:44:38 -04:00
Jeffrey A Law
50bb736a7c
libio.exp (test_libio): Use libstdc++_{include,link}_flags instead of g++_{include,link}_flags.
...
* lib/libio.exp (test_libio): Use libstdc++_{include,link}_flags
instead of g++_{include,link}_flags.
From-SVN: r15123
1997-09-05 15:37:51 -06:00
H.J. Lu
cf7c222f5d
Makefile.in (check): Don't depend on site.exp.
...
* testsuite/Makefile.in (check): Don't depend on site.exp.
(just-check): Depend on site.exp.
Fixes problems with SMP "make check".
From-SVN: r14945
1997-08-26 12:28:26 -06:00
Jason Merrill
51e3ba163a
ignored by import
...
From-SVN: r14882
1997-08-21 19:14:36 -04:00
Jason Merrill
6599da043e
Initial revision
...
From-SVN: r14877
1997-08-21 18:57:35 -04:00