aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-122006-01-12 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h> instead of <bits/setjmp.h>. * sysdeps/alpha/setjmp.S: Likewise. * sysdeps/i386/__longjmp.S: Likewise. * sysdeps/i386/bsd-_setjmp.S: Likewise. * sysdeps/i386/bsd-setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. * sysdeps/sh/sh3/setjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Likewise. * sysdeps/sparc/sparc32/__longjmp.S: Likewise. * sysdeps/sparc/sparc32/setjmp.S: Likewise. * sysdeps/x86_64/__longjmp.S: Likewise. * sysdeps/x86_64/setjmp.S: Likewise. * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>. * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise. * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. * sysdeps/alpha/jmpbuf-unwind.h: Likewise. * sysdeps/hppa/jmpbuf-unwind.h: Likewise. * sysdeps/i386/jmpbuf-unwind.h: Likewise. * sysdeps/powerpc/jmpbuf-unwind.h: Likewise. * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise. * sysdeps/x86_64/jmpbuf-unwind.h: Likewise. * setjmp/jmpbuf-offsets.h: File removed. * include/bits/setjmp.h: File removed.
2006-01-12* libio/wmemstream.c: New file.Ulrich Drepper
* libio/Makefile (routines): Add wmemstream. (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and tst-wmemstream2. * libio/tst-memstream1.c: New file. * libio/tst-memstream2.c: New file. * libio/tst-wmemstream1.c: New file. * libio/tst-wmemstream2.c: New file. * libio/memstream.c (_IO_mem_sync): Remove useless call to _IO_default_sync.
2006-01-12* elf/check-textrel.c: Add missing argument.Ulrich Drepper
2006-01-11* Makerules: Define build-module-asneeded.Ulrich Drepper
* iconvdata/extra-module.mk: Use build-module-asneeded. needed. 2006-01-09 Richard Henderson <rth@redhat.com> * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; tailcall in libc.so. * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. (PTR_MANGLE2): Define. 2006-01-11 Ulrich Drepper <drepper@redhat.com>
2006-01-11* elf/check-localplt.c: New file.Ulrich Drepper
* elf/Makefile: Add rules to build and run check-localplt. * scripts/data/localplt-x86_64-linux-gnu.data: New file. * scripts/data/localplt-i386-linux-gnu.data: New file.
2006-01-11* include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.Ulrich Drepper
* sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for __fxstatat64. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add __GI___fxstatat64 alias. * libio/memstream.c (_IO_mem_finish): Fix potential memory leak of realloc fails. * include/sched.h: Add libc_hidden_proto for __sched_yield.
2006-01-11* libio/genops.c (_IO_unbuffer_write): Give concurrently runningUlrich Drepper
threads the chance to work correctly by trying to lock the stream. If this does not work, proceed without locking.
2006-01-11* libio/genops.c (_IO_unbuffer_write): Don't always free theUlrich Drepper
buffer. This is not necessary except in debug mode. If we don't free the buffer but the FILE structure to a list. (buffer_free): New function. Free buffers or tell _IO_unbuffer_write to do so. * libio/libio.h (struct _IO_FILE): Add new members to keep track of which buffers have to be freed.
2006-01-11* iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cacheUlrich Drepper
is NULL.
2006-01-11(free_mem): Don't call munmap if gconv_cache is NULL.Ulrich Drepper
2006-01-11[BZ #321]Roland McGrath
2005-10-14 Paul Eggert <eggert@cs.ucla.edu> * malloc/obstack.c: Fix old comments. Update FSF snail mail address. * malloc/obstack.h: Likewise. [BZ #321] Fix portability bugs encountered when porting to Itanium. * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not assume that the "contents" member is suitably aligned. It is not, for some hosts and alignments: e.g., Itanium, long-double. * malloc/obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk): Likewise. * malloc/obstack.c: Include <stddef.h>, for size_t. Include <inttypes.h>, <stdint.h> if needed and available. (DEFAULT_ALIGNMENT): Now an enum constant, not a macro. Use C89 offsetof rather than K&R trick. Use the maximum alignment of uintmax_t, long double, void * rather than the alignment of double. (union fooround): Use uintmax_t, long double, void * members rather than just long and double. [BZ #321] Fix portability bugs encountered when porting to the IBM iSeries, where pointers are 256 bits wide and no integers are that wide. * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove. All uses changed to: (__BPTR_ALIGN, __PTR_ALIGN): New macros. (struct _obstack_chunk.temp): Change from int to a union of pointer and int. All uses changed. [BZ #321] * malloc/obstack.c (print_and_abort) [!_LIBC]: Call fprintf (stderr, ...), not __fxprintf (NULL, ...). [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
2006-01-11[BZ #1060]Roland McGrath
2006-01-10 Derek Price <derek@ximbiot.com> Paul Eggert <eggert@cs.ucla.edu> [BZ #1060] * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that may be replaced with GNULIB modules. Make no attempt to find 64-bit versions of file access functions directly when [!_LIBC]. Don't define GLOB_* macros here. (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New macros to abstract dirent->d_type access. (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf access.
2006-01-11* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.hRoland McGrath
(PTR_MANGLE): Fix cast.
2006-01-10* timezone/test-tz.c: Revert last change, updating to matchRoland McGrath
tzdata2005r definition of "MST".
2006-01-102006-01-10 Roland McGrath <roland@redhat.com>Roland McGrath
* timezone/test-tz.c: Revert last change, updating to match tzdata2005r definition of "MST".
2006-01-10* include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC isUlrich Drepper
defined.
2006-01-10Don't include jmpbuf-offsets.h if _ISOMAC is defined.Ulrich Drepper
2006-01-10* include/time.h: Use normal comments.Andreas Jaeger
2006-01-10 Andreas Jaeger <aj@suse.de> * include/time.h: Use normal comments.
2006-01-10* hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.Roland McGrath
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2006-01-102006-01-10 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath
* hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2006-01-10* wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather thanUlrich Drepper
vswprintf recursively.
2006-01-10* sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.Ulrich Drepper
2006-01-10Add back accidently removed #endif.Ulrich Drepper
2006-01-10* include/bits/setjmp.h: New file.Roland McGrath
* setjmp/jmpbuf-offsets.h: New file. * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ... * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file. * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ... * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file. * sysdeps/i386/bits/setjmp.h: Move JB_* macros ... * sysdeps/i386/jmpbuf-offsets.h: ... here, new file. * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed. * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ... * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file. * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros. * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ... * sysdeps/sh/jmpbuf-offsets.h: ... here, new file. * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ... * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros. * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ... * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
2006-01-10* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...Roland McGrath
* sysdeps/powerpc/jmpbuf-unwind.h: ... here. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/alpha/jmpbuf-unwind.h: ... here. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/i386/jmpbuf-unwind.h: ... here. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/x86_64/jmpbuf-unwind.h: ... here. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sh/jmpbuf-unwind.h: ... here. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/mips/jmpbuf-unwind.h: ... here. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/s390/jmpbuf-unwind.h: ... here. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/ia64/jmpbuf-unwind.h: ... here. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here. * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
2006-01-10* sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.Roland McGrath
* sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
2006-01-10* sysdeps/linkmap.h: File removed.Roland McGrath
2006-01-10* sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocationsRoland McGrath
by using LR and RR. Add %sr0 to iitlbp. * timezone/private.h: Update from tzcode2005r. * timezone/tzfile.h: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. * timezone/africa: Update from tzdata2005r. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/systemv: Likewise.
2006-01-10* elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,Roland McGrath
so we depend on $(objpfx)reldepmod6.so as intended.
2006-01-102006-01-09 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo, so we depend on $(objpfx)reldepmod6.so as intended.
2006-01-10[BZ #2126]Ulrich Drepper
* sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is returned. * sysdeps/i386/strtok.S: Likewise. * sysdeps/x86_64/strtok.S: Likewise. * string/Makefile (tests): Add bug-strtok1. * string/bug-strtok1.c: New file.
2006-01-09* elf/check-textrel.c (AB): Also check for writable and executableUlrich Drepper
segments.
2006-01-09(AB): Also check for writable and executable segments.Ulrich Drepper
2006-01-09* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):Roland McGrath
Don't give the union a name because it changes the mangled name. Instead name the struct for __data. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_mutex_t): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h (pthread_mutex_t): Likewise.
2006-01-092006-01-08 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t): Don't give the union a name because it changes the mangled name. Instead name the struct for __data. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_mutex_t): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h (pthread_mutex_t): Likewise.
2006-01-09* sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute fromUlrich Drepper
const variables, gas produces garbage. * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. * sysdeps/ieee754/flt-32/e_expf.c: Likewise. * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2006-01-09Remove section attribute, gas produces garbage.Ulrich Drepper
2006-01-09* tst-initializers1-c89.c: New file.Roland McGrath
* tst-initializers1-c99.c: New file. * tst-initializers1-gnu89.c: New file. * tst-initializers1-gnu99.c: New file. * Makefile (tests): Add them. (CFLAGS-tst-initializers1-c89.c): New variable. (CFLAGS-tst-initializers1-c99.c): New variable. (CFLAGS-tst-initializers1-gnu89.c): New variable. (CFLAGS-tst-initializers1-gnu99.c): New variable.
2006-01-09more typoscvs/fedora-glibc-20060109T2152Roland McGrath
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
2006-01-09typosRoland McGrath
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Use i386/fxstatat.c. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstatat.c: Use i386/lxstatat.c. (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
2006-01-09* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.Roland McGrath
2006-01-092006-01-09 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Use __extension__ on anonymous union definition. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
2006-01-09* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.Ulrich Drepper
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Use i386/fxstat.c. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstatat.c: Use i386/lxstat.c. (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL) Don't define
2006-01-09* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): AddRoland McGrath
stack bias to mc_fp field. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. (struct kernel_stat64): New type. (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Include i386 version. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, struct stat64): Add nsec resolution for 64-bit code like already done for 32-bit code. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define for sparc64. (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 kernels. * scripts/data/c++-types-sparc-linux-gnu.data: New file. * scripts/data/c++-types-sparc64-linux-gnu.data: New file. * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
2006-01-092006-01-09 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Use __extension__ on anonymous union definition. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
2006-01-09Adjust for recent input file changes.Ulrich Drepper
2006-01-09* sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): AddUlrich Drepper
stack bias to mc_ftp field.
2006-01-09being too clever and reloading the futex value where it shouldn't.Ulrich Drepper
2006-01-08[BZ #1535]Roland McGrath
* sysdeps/unix/get_child_max.c: New file. * posix/get_child_max.c: New file. * posix/Makefile (routines): Add it. * include/sys/sysinfo.h (__get_child_max): Declare it. * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
2006-01-08* sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: UseRoland McGrath
fcntl64 syscall instead.