aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-03-27Tweak redirection handling in last change.Roland McGrath
2003-03-27* scripts/abilist.awk: If variable `parse_names' is set, grok the fileRoland McGrath
header lines and write out foo.symlist files for each foo.so.NN listed. * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. This symbol is exported, and we don't want to hide it. Add libc_hidden_proto instead. (_IO_file_jumps): Add libc_hidden_proto. * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. Remove INTVARDEF. * libio/fileops.c (_IO_file_jumps): Likewise. * libio/stdfiles.c: Don't use INTUSE on them. * libio/iofdopen.c (_IO_new_fdopen): Likewise. * libio/iofopen.c (__fopen_internal): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2003-03-27* Makerules (check-abi) [$(enable-check-abi) = warn]:Roland McGrath
Ignore exit status from diff. * configure.in (enable_check_abi): Document possible value "warn". Change default to no for now. * configure: Regenerated. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning macro calls and a #include <stub-tag.h> at the end. * Makerules ($(objpfx)stubs): Tweak sed commands. * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in caller column for *xattr syscalls, since they are in sysdeps/generic. * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid 2003-03-26 Roland McGrath <roland@redhat.com> * Makerules (check-abi-config): Use /thread instead of /tls when use-thread and not just use-tls is set. * Makerules (update-abi): Put quotes around $(update-abi-config). * elf/Makefile (check-abi): Depend on check-abi-ld. (update-abi): Depend on update-abi-ld.
2003-03-272003-03-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning macro calls and a #include <stub-tag.h> at the end. * Makerules ($(objpfx)stubs): Tweak sed commands.
2003-03-27Update.Ulrich Drepper
2003-03-26 GOTO Masanori <gotom@debian.or.jp> * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and do not check for errors (unless testing for 32bit variant). * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2003-03-27(setfsuid): Use INTERNAL_SYSCALL and do not check for errors (unless testing ↵Ulrich Drepper
for 32bit variant).
2003-03-27* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): UseRoland McGrath
unconditional mov. Remove nop. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code when __ASSUME_VFORK_SYSCALL is defined. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for __ASSUME_MMAP2_SYSCALL. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for __ASSUME_REALTIME_SIGNALS.
2003-03-272003-03-27 Philip Blundell <philb@gnu.org>Roland McGrath
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code when __ASSUME_VFORK_SYSCALL is defined. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for __ASSUME_MMAP2_SYSCALL. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for __ASSUME_REALTIME_SIGNALS.
2003-03-27Update.Ulrich Drepper
2003-03-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 only if DL_NO_COPY_RELOCS is not defined. * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
2003-03-26Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid no-op padding element. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. 2003-03-26 GOTO Masanori <gotom@debian.or.jp> * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error condition check for the return value of getgroups32. 2003-03-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): Fix a typo. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Define. * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. Define to PSEUDO_END. 2003-03-26 Ulrich Drepper <drepper@redhat.com>
2003-03-26(struct siginfo): Avoid no-op padding element.Ulrich Drepper
2003-03-26* sysdeps/unix/make-syscalls.sh: When an undefined syscall hasRoland McGrath
SOURCE=-, append its symbol names to make variable unix-stub-syscalls. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] (sysdep_routines): Add stub-syscalls. ($(objpfx)stub-syscalls.c): New target. (generated): Add stub-syscalls.c. * tls.make.c: Also define use-tls according to USE_TLS macro.
2003-03-262003-03-26 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/make-syscalls.sh: When an undefined syscall has SOURCE=-, append its symbol names to make variable unix-stub-syscalls. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] (sysdep_routines): Add stub-syscalls. ($(objpfx)stub-syscalls.c): New target. (generated): Add stub-syscalls.c.
2003-03-26(__getgroups): Fix the error condition check for the return value of ↵Ulrich Drepper
getgroups32.
2003-03-26(PSEUDO_NOERRNO): Fix a typo.Ulrich Drepper
2003-03-26* sysdeps/unix/sysv/linux/timer_getoverr.c: Fix typo in nameJakub Jelinek
of included file.
2003-03-26Fix typo in name of included file.Jakub Jelinek
2003-03-26Update.Ulrich Drepper
2003-03-26 Ulrich Drepper <drepper@redhat.com> * abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
2003-03-26Update.Ulrich Drepper
2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com> * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. * iconvdata/bug-iconv4.c: New file. * iconvdata/Makefile (tests): Add bug-iconv4.
2003-03-26Test for EUC-TW bug with too-short output buffers.Ulrich Drepper
2003-03-26* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined.Roland McGrath
(timer_id2ptr): Fix typo.
2003-03-262003-03-25 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined. (timer_id2ptr): Fix typo.
2003-03-26(from_euc_tw): Fix return value of TO_LOOP.Ulrich Drepper
2003-03-26Update.Ulrich Drepper
2003-03-25 H.J. Lu <hjl@gnu.org> * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected symbols twice. (_dl_lookup_versioned_symbol): Likewise.
2003-03-26Update.Ulrich Drepper
Remove struct __pthread_attr_s forward declaration. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2003-03-26Remove struct __pthread_attr_s forward declaration.Ulrich Drepper
2003-03-26* csu/tst-atomic.c (do_test): Add some newRoland McGrath
atomic_compare_and_exchange_val_acq, atomic_add_zero, atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. * include/atomic.h (atomic_add_negative, atomic_add_zero): Prefix local variable so that it doesn't clash with the one in atomic_exchange_and_add. * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * pointers. (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force value into register. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval to long. * sysdeps/x86_64/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to long. (atomic_exchange): Cast newvalue to long if sizeof == 8. (atomic_exchange_and_add): Cast value to long if sizeof == 8. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. (atomic_bit_set): Shift 1L up in all cases to shut up warnings.
2003-03-26* sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high orderRoland McGrath
bit from backtrace addresses. 2003-03-21 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned __chown symbols.
2003-03-26* config.make.in (enable-check-abi): New variable from configure.Roland McGrath
* configure.in (enable_check_abi): New substituted variable, controlled by --{enable,disable}-check-abi (default yes). * configure: Regenerated. * Makerules [$(enable-check-abi) = yes] (tests): Put this condition on check-abi dependency.
2003-03-262003-03-25 Roland McGrath <roland@redhat.com>Roland McGrath
* config.make.in (enable-check-abi): New variable from configure. * configure.in (enable_check_abi): New substituted variable, controlled by --{enable,disable}-check-abi (default yes). * configure: Regenerated. * Makerules [$(enable-check-abi) = yes] (tests): Put this condition on check-abi dependency.
2003-03-25*** empty log message ***Andreas Schwab
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos. * include/atomic.h: Likewise.
2003-03-25*** empty log message ***Andreas Schwab
2003-03-26 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
2003-03-25Define ret_NOERRNO.Andreas Schwab
2003-03-25* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.Roland McGrath
(__arch_atomic_exchange_64): New macro. (atomic_exchange): Use them. (__arch_atomic_exchange_and_add_32): New macro. (__arch_atomic_exchange_and_add_64): New macro. (atomic_exchange_and_add): Use them. Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-252003-03-25 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. (__arch_atomic_exchange_64): New macro. (atomic_exchange): Use them. (__arch_atomic_exchange_and_add_32): New macro. (__arch_atomic_exchange_and_add_64): New macro. (atomic_exchange_and_add): Use them. Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-25Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): Likewise.
2003-03-25(__TIMER_T_TYPE): Define as void*.Ulrich Drepper
2003-03-25* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * ↵Alexandre Oliva
sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise. 2003-03-25 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise.
2003-03-25Update.Ulrich Drepper
2003-03-25 Ulrich Drepper <drepper@redhat.com> * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and atomic_add_zero were supposed to do. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero to x86 behavior. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. This matches the new timer implementation. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust timer info for what the kernel provides these days. (struct sigevent): Add _tid field. Define SIGEV_THREAD_ID. * Versions.def (librt): Add GLIBC_2.3.3. * abilist/libpthread.abilist: Update for nptl.
2003-03-25Define SIGCANCEL and SIGTIMER. Remove FRAME_LEFT definition.Ulrich Drepper
2003-03-25* sysdeps/unix/sysv/linux/arm/sysdep-cancel.hRoland McGrath
(DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
2003-03-252003-03-24 Daniel Jacobowitz <drow@mvista.com>Roland McGrath
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
2003-03-25Update.Ulrich Drepper
2003-03-24 Jon Grimm <jgrimm@us.ibm.com> * inet/netinet/in.h: Add IPPROTO_SCTP. 2003-03-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
2003-03-24Update.Ulrich Drepper
2003-03-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): Remove a1 from clobber list. 2003-03-24 Ulrich Drepper <drepper@redhat.com> * timezone/antarctica: Update from tzdata2003a. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
2003-03-24Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid unwanted expansion by definining to ret. Patch by Ian Wienand.
2003-03-23Update.Ulrich Drepper
2003-03-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of the parameter description to denote no error checking. Generate appropriate pseudo asm code. * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, getpgrp, and getppid with 'E'. * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, and ret_NOERRNO. * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. * sysdeps/unix/sysdep.h: Likewise. * sysdeps/unix/alpha/sysdep.h: Likewise. * sysdeps/unix/sparc/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2003-03-23Recognize 'E' in first position of the parameter description to denote no ↵Ulrich Drepper
error checking. Generate appropriate pseudo asm code.
2003-03-23Add s390, update i.86 and powerpcRoland McGrath
2003-03-23* Makeconfig (+includes): Don't use $(last-includes).Roland McGrath
2003-03-23* tst-mutex5.c (do_test): Unlock before destroy, otherwise we invokeRoland McGrath
undefined behavior.