diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-16 15:30:26 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-16 15:30:26 +0000 |
commit | e25d69e4735a46d410677a76d4cd5afe7736f324 (patch) | |
tree | 75ddb85fa604b6bb3a46198f987764bedf5ddda8 /libio/configure.in | |
parent | 4469d24b2b67785ef6fc7fe590f49d52a8df2e18 (diff) | |
download | gcc-e25d69e4735a46d410677a76d4cd5afe7736f324.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/configure.in')
-rw-r--r-- | libio/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libio/configure.in b/libio/configure.in index ac94747f563..2fc3a962afa 100644 --- a/libio/configure.in +++ b/libio/configure.in @@ -54,6 +54,9 @@ case "${target}" in rm -fr bits mkdir bits echo "#include <libc-lock.h>" > bits/libc-lock.h + echo 'asm (".weak _pthread_cleanup_pop_restore");' >> bits/libc-lock.h + echo 'asm (".weak _pthread_cleanup_push_defer");' >> bits/libc-lock.h + echo "#include <stdio-lock.h>" > bits/stdio-lock.h } ;; |