linux libio patches

H.J. Lu hjl@lucon.org
Thu Oct 9 16:31:00 GMT 1997


> 
> 
> --HcAYCG3uE/tztfnV
> Content-Type: text/plain; charset=us-ascii
> 
> Would other people verify that this works for them wrt linux
> libc5 and libstdc++?  It works for me on trivial tests on
> Linux/Alpha, RH 4.2 vintage + binutils 2.8.1.  It build for 
> me on an i686 down the way, but I didn't install it.
> 

This patch is unacceptable since it looks to me that it
doesn't support long double I/O which is supported by
all previous iostreams on linux.

I have a different patch. But I'd like to pass "make check"
first before I submit it. Here is the ChangeLog entry for
them.



H.J.
--
Thu Oct  9 07:08:41 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)

	* Makefile.in (empty.c): New target for an empty C file.
	(libio.a): Also depend on empty.o. If $(LIBIO_OBJECTS) is
	empty, create libio.a with empty.o.

	* configure.in (EXTRA_DISTCLEAN): New. set to dummy.c.

	* 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.



More information about the Gcc mailing list