about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.Roland McGrath2006-01-061-0/+123
| | | | | | | | | | | | * posix/unistd.h [__USE_ATFILE]: Declare faccessat. * io/faccessat.c: New file. * sysdeps/unix/sysv/linux/faccessat.c: New file. * io/Makefile (routines): Add faccessat. * io/Versions (libc: GLIBC_2.4): Likewise. * io/tst-faccessat.c: New file. * io/Makefile (tests): Add it. * io/sys/stat.h: Likewise.
* * io/euidaccess.c: Add eaccess as an alias.Roland McGrath2006-01-062-1/+4
| | | | | | | * sysdeps/mach/hurd/euidaccess.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * posix/unistd.h [__USE_GNU]: Declare eaccess. * io/Versions (libc: GLIBC_2.4): Add eaccess.
* * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): cvs/fedora-glibc-20060106T0916Ulrich Drepper2006-01-061-6/+10
| | | | | | Only define for 2.6.12+ on s390{,x}. (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches and only for 2.6.11+ on s390{,x}.
* * rt/Makefile (tests): Add tst-aio9 and tst-aio10.Ulrich Drepper2006-01-061-1/+4
| | | | * rt/tst-aio10.c: New file.
* * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]Ulrich Drepper2006-01-064-8/+54
| | | | | | | | | | | (struct waitlist): Don't add cond. * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP] (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal. * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't use condvar, use AIO_MISC_WAIT. * sysdeps/pthread/lio_listio.c: Likewise. * rt/Makefile (tests): Add aio_suspend. * rt/tst-aio9.c: New file.
* * io/sys/stat.h [__USE_GNU]: Declare fchmodat.Roland McGrath2006-01-051-0/+87
| | | | | | | | | * io/fchmodat.c: New file. * io/Makefile (routines): Add fchmodat. * io/Versions (libc: GLIBC_2.4): Likewise. * sysdeps/unix/sysv/linux/fchmodat.c: New file. * io/tst-fchmodat.c: New file. * io/Makefile (tests): Add it.
* * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startprocUlrich Drepper2006-01-0415-52/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directive to ENTRY macros. (END): Add cfi_endproc directive to END macro. * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc directive to ENTRY macros. (END, END_GEN_TB): Add cfi_endproc directive to END macros. * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for _dl_start_user and _dl_main_dispatch. * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro. * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise. * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant cfi_startproc and cfi_endproc. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. 2006-01-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member. * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters, failed I/O, and a result pointer, set value to -1. * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL. * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in wait list to local variable result. If nonzero afterwards, set errno to EIO. For LIO_NOWAIT set result to NULL. * rt/Makefile (tests): Add tst-aio8. * rt/tst-aio8.c: New file.
* Fix last commit.Andreas Jaeger2006-01-041-1/+1
|
* (__brk): Use __SYSCALL_CLOBBERS.Andreas Jaeger2006-01-041-2/+2
|
* * configure.in (HAVE_LIBAUDIT): CheckUlrich Drepper2006-01-041-5/+5
| | | | | | | | audit_log_user_avc_message instead of audit_log_avc. 2006-01-04 Joseph S. Myers <joseph@codesourcery.com> * sysdeps/ieee754/bits/nan.h: Fix typo.
* * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.Ulrich Drepper2006-01-045-19/+267
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused define. * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add {,u}atomic*_t typedefs. (__sparc32_atomic_do_lock): Add __volatile and memory clobber. (__sparc32_atomic_do_unlock): Add memory barrier. (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define. [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define. (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq, __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel, __v7_compare_and_exchange_val_24_acq, __atomic_is_v9, atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq, atomic_exchange_24_rel): Define. [SHARED] (atomic_exchange_and_add): Define. [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define. [!SHARED] (_dl_hwcap): New weak decl. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define. * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define.
* lio_listio should emit an event for each individual request inUlrich Drepper2006-01-034-21/+70
| | | | | | | | | | | | | | | | | | | addition to the global event. * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to lio_listio_internal. Remove mode parameter check. Only set sigevent type ti SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set. (__lio_listio_21): New function. Compatiblity version which sets LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal. (__lio_listio_item_notify): New function. * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and __lio_listio_item_notify macros. * sysdeps/pthread/Versions: New file. * rt/tst-aio2.c: Adjust test for new semantics of lio_listio. * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT. * Versions.def: Add GLIBC_2.4 for librt. * rt/Versions: Whitespace fix. * sysdeps/pthread/aio_misc.c: Likewise.
* * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, cvs/fedora-glibc-20060102T2114Ulrich Drepper2006-01-0214-38/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE, PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64] (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp. * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp and %o7. * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp and %o7. 2006-01-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2): Define. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15. * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf struct tag to make C++ happy. 2006-01-02 Ulrich Drepper <drepper@redhat.com> * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of the include list.
* * resolv/res_debug.c (latlon2ul): Use ISO C function declaration.Ulrich Drepper2005-12-302-1/+23
| | | | | | | | | | (precsize_aton): Likewise. (precsize_ntoa): Likewise. * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype. (gethostbyname2): Likewise. (gethostbyaddr): Likewise. (getanswer): Use ISO C function declaration.
* * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.Ulrich Drepper2005-12-3011-18/+22
| | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/sh/_mcount.S: Add cfi instrumentation. * sysdeps/unix/sh/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate cfi_startproc and cfi_endproc. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
* * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guardUlrich Drepper2005-12-306-16/+23
| | | | | | | | | | | | | | | | | | | value doesn't survive in a registers when the function returns. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. 2005-12-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define PTR_MANGLE2. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define PTR_MANGLE2 and PTR_DEMANGLE2. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2. * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. 2005-12-30 Ulrich Drepper <drepper@redhat.com>
* * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):Ulrich Drepper2005-12-301-1/+1
| | | | Don't use _demangle parameter for now.
* [BZ #1067] Andreas Jaeger2005-12-301-2/+2
| | | | | * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr for 64-bit mips kernel.
* 2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper2005-12-3014-98/+624
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tom Gall <tom_gall@vnet.ibm.com> * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. * sysdeps/powerpc/elf/libc-start.c: Move this... * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. * sysdeps/powerpc/powerpc32/hp-timing.h: New file. * sysdeps/unix/sysv/linux/powerpc/Versions: New file. * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead of the normal versions throughout the code. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if HAVE_CLOCK_GETTIME_VSYSCALL is defined. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, and HAVE_CLOCK_GETTIME_VSYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:Ulrich Drepper2005-12-296-1/+29
| | | | | | | | | | | | Define PTR_DEMANGLE2. * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also mangle r1. * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle r0 and r1. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: Demangle r0 and r1.
* * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: AlsoUlrich Drepper2005-12-291-0/+3
| | | | | | mangle r1. * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:Ulrich Drepper2005-12-297-1397/+1182
| | | | | | | | | | | | | | | | | | Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Remove unrelated stack frame defines.
* * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,Ulrich Drepper2005-12-297-7/+35
| | | | | | | | | | include the named file. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
* * sysdeps/mach/hurd/errno.c: New file.Roland McGrath2005-12-292-2/+12
| | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
* * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.Roland McGrath2005-12-291-3/+4
| | | | | | | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. * hurd/report-wait.c (_S_msg_report_wait): Likewise. * include/sys/xattr.h: New file.
* 2005-12-28 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-281-0/+1
| | | | | * hurd/sigunwind.c: Include <stdint.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
* * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stackUlrich Drepper2005-12-284-2/+39
| | | | | | | pointer. Add CFI. * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer. * sysdeps/i386/bsd-setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise.
* * sysdeps/x86_64/__longjmp.S: No need to make sure return value isUlrich Drepper2005-12-281-3/+0
| | | | != 0, the caller did that.
* Don't confuse unwinder by loading mangled values in %rbp and %rsp registers ↵Ulrich Drepper2005-12-281-10/+13
| | | | and by wrong cfi.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.hRoland McGrath2005-12-2814-42/+52
| | | | | | | | | | | | | | | | | | | | | | (PTR_MANGLE): Fix cast. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument DEMANGLE, and pass SP value through it. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline demangler function to _JMPBUF_UNWINDS. * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
* * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEADUlrich Drepper2005-12-273-2/+18
| | | | | | | | | | and ENOTRECOVERABLE if not already defined. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. 2005-12-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat entry for up to 138 errnos.
* * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fctUlrich Drepper2005-12-271-2/+5
| | | | | | | | | before calling it. 2005-12-27 David S. Miller <davem@sunset.davemloft.net> * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat entry for up to 134 errnos.
* * manual/errno.texi: Add new Linux errno codes.Ulrich Drepper2005-12-242-0/+51
| | | | | * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry for up to 132 errnos.
* * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD andUlrich Drepper2005-12-241-3/+8
| | | | ENOTRECOVERABLE if not already defined.
* [BZ #1566]Ulrich Drepper2005-12-231-1/+0
| | | | | | | 2005-12-23 Ulrich Drepper <drepper@redhat.com> [BZ #1566] * sysdeps/i386/i586/memusage.h: New file. * sysdeps/i386/memusage.h: Don't define GETTIME.
* i586 definitions for memusage.Ulrich Drepper2005-12-231-0/+1
|
* Also protect SP and BP.Ulrich Drepper2005-12-222-0/+11
|
* * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.Roland McGrath2005-12-2220-593/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. * stdlib/tst-ucontext-off.c: File removed. * stdlib/Makefile (tests): Remove it. * scripts/gen-as-const.awk: Support generating a test program. * Makerules [gen-as-const-headers] (tests): Add test-as-const. [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
* 2005-12-21 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-2271-4836/+0
| | | | | | | | | | | * sysdeps/generic/bits: Subdirectory and all files moved to ... * bits: ... here, new subdirectory. * Makeconfig (+includes): Reordered includes to put build and sysdeps dirs first after $(..)include, $(sysincludes) last. * sysdeps/generic/bits: Subdirectory and all files moved to ... * bits: ... here, new subdirectory. * Makeconfig (+includes): Reordered includes to put build and sysdeps dirs first after $(..)include, $(sysincludes) last.
* * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.Roland McGrath2005-12-221-16/+18
|
* * sysdeps/mach/hurd/ifreq.c: Add missing #includes.Roland McGrath2005-12-211-0/+6
|
* * elf/cache.c: Use <> rather than "" #includes.Roland McGrath2005-12-2117-39/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/chroot_canon.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * elf/rtld.c: Likewise. * gmon/mcount.c: Likewise. * hurd/hurdfault.c: Likewise. * hurd/hurdsig.c: Likewise. * hurd/report-wait.c: Likewise. * hurd/sigunwind.c: Likewise. * mach/setup-thread.c: Likewise. * rt/aio_read64.c: Likewise. * rt/aio_sigqueue.c: Likewise. * rt/aio_write64.c: Likewise. * soft-fp/soft-fp.h: Likewise. * stdio-common/tmpfile64.c: Likewise. * sysdeps/mach/hurd/fork.c: Likewise. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. * sysdeps/mach/hurd/i386/trampoline.c: Likewise. * sysdeps/mach/hurd/mips/trampoline.c: Likewise. * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/pthread/aio_cancel.c: Likewise. * sysdeps/pthread/aio_fsync.c: Likewise. * sysdeps/pthread/aio_read64.c: Likewise. * sysdeps/pthread/aio_read.c: Likewise. * sysdeps/pthread/aio_suspend.c: Likewise. * sysdeps/pthread/aio_write64.c: Likewise. * sysdeps/pthread/aio_write.c: Likewise. * sysdeps/pthread/lio_listio64.c: Likewise. * sysdeps/pthread/lio_listio.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/tcflow.c: Likewise.
* * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.Roland McGrath2005-12-211-3/+3
| | | | * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
* * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.Ulrich Drepper2005-12-216-18/+47
| | | | | | | | | | | * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const. * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end up in .rodata. * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100 end up in .rodata. * sysdeps/ieee754/flt-32/e_expf.c: Likewise. * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000 end up in .rodata.
* * locale/xlocale.c (_nl_C_locobj): Mark as const.Ulrich Drepper2005-12-211-2/+2
| | | | | | | | | | | | | | | * include/locale.h: Define _nl_C_locobj_ptr. * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer to _nl_C_locobj because we also need a cast. * iconv/gconv_conf.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_open.c: Likewise. * locale/duplocale.c: Likewise. * locale/freelocale.c: Likewise. * locale/newlocale.c: Likewise. * misc/syslog.c: Likewise. * stdlib/strtod_l.c: Likewise. * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
* [BZ #2061]Roland McGrath2005-12-201-3/+9
| | | | | | 2005-12-15 Thomas Schwinge <tschwinge@gnu.org> [BZ #2061] * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
* * sysdeps/unix/sysv/linux/ifreq.h: File removed.Roland McGrath2005-12-202-42/+2
| | | | | | | | * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
* 2005-12-20 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-201-23/+2
| | | | | | * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
* * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.Ulrich Drepper2005-12-203-30/+58
| | | | | * sysdeps/posix/gai_strerror-strs.h: New file. * sysdeps/posix/Dist: New file.
* * sysdeps/posix/getaddrinfo.c (gaih): Mark as const. cvs/fedora-glibc-20051220T1751Ulrich Drepper2005-12-201-2/+3
| | | | * locale/loadlocale.c (_nl_value_types): Likewise.