about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* (__longjmp): Make aligned_restore_vmx a local symbol.Ulrich Drepper2009-01-302-7/+6
|
* (SHM_EXEC): Define.Andreas Jaeger2009-01-307-10/+17
|
* [BZ #9726]Ulrich Drepper2009-01-303-19/+25
| | | | | | | | | | | | | | | 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
* * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): UseUlrich Drepper2009-01-301-2/+21
| | | | | memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
* * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.Ulrich Drepper2009-01-291-1/+11
| | | | (stackinfo_sub_sp): Define.
* [BZ #9750]Ulrich Drepper2009-01-291-1/+11
| | | | | | | * nscd/mem.c (gc): Use alloca_count to get the real stack usage. * include/alloca.h (alloca_account): Define. * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. (stackinfo_sub_sp): Define.
* * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):Ulrich Drepper2009-01-281-3/+3
| | | | | Add "t" to clobber list. (INTERNAL_SYSCALL_NCS): Likewise.
* ..Ulrich Drepper2009-01-231-3/+3
| | | | | | | | | | | 2009-01-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. * misc/hsearch_r.c (hcreate_r): We need at least three elements in the hash table. * misc/Makefile (tests): Add bug-hsearch1. * misc/bug-hsearch1.c: New file.
* * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): TakeUlrich Drepper2009-01-113-20/+70
| | | | | | | | | | | | | | | | | | | one parameter. If non-NULL use it to initialize return value. (_dl_setup_pointer_guard): New function. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_random. * elf/rtld.c (security_init): Pass _dl_random to _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize pointer_chk_guard. * elf/dl-sysdep.c (_dl_random): New variable. (_dl_sysdep_start): Handle AT_RANDOM. (_dl_show_auxv): Likewise. * elf/dl-support.c (_dl_random): New variable. (_dl_aux_init): Handle AT_RANDOM. * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard. * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
* * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors.Ulrich Drepper2009-01-091-0/+7
|
* [BZ #9720] cvs/fedora-glibc-20090108T1017Jakub Jelinek2009-01-082-4/+6
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise. 2009-01-08 Jakub Jelinek <jakub@redhat.com> [BZ #9720] * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise.
* * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.Ulrich Drepper2009-01-087-2/+338
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. * sysdeps/unix/sysv/linux/s390/init-first.c: New file. * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso for elf subdir. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and HAVE_CLOCK_GETTIME_VSYSCALL: Define. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/Versions: New file.
* * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:Roland McGrath2009-01-071-1/+6
| | | | | | | | | | | Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h net/route.h. * hurd/report-wait.c (describe_number): Use __stpcpy to prepend flavor to description only when flavor is not NULL. * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock mutex after SIGIO/SIGURG lookup loop.
* * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argumentUlrich Drepper2009-01-031-1/+3
| | | | handling.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper2009-01-031-6/+4
| | | | | | | | FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.hUlrich Drepper2009-01-031-0/+7
| | | | (__ASSUME_FUTEX_CLOCK_REALTIME): Define.
* * sysdeps/posix/getaddrinfo.c (gaih_inet): When theUlrich Drepper2008-12-291-0/+2
| | | | gethostbyname4_r function call succeeded, just leave the loop.
* * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd ifUlrich Drepper2008-12-291-3/+11
| | | | | LOCALDOMAIN is defined. * nscd/nscd_getai.c (__nscd_getai): Likewise.
* * sysdeps/x86_64/bits/select.h: New file.Ulrich Drepper2008-12-291-0/+78
|
* [BZ #6545]Ulrich Drepper2008-12-091-1/+1
| | | | | * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make available only for __USE_GNU.
* * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper2008-12-081-1/+1
| | | | | | | use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.
* * posix/globtest.sh: Use mktemp to create temporary file andUlrich Drepper2008-12-061-11/+11
| | | | directory.
* * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle largeUlrich Drepper2008-12-061-3/+8
| | | | | | sets correctly. (__CPU_CLR_S): Likewise. (__CPU_ISSET_S): Likewise.
* * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REGUlrich Drepper2008-12-061-2/+1
| | | | instead of doing things manually.
* 2008-11-26 Roland McGrath <roland@redhat.com>Roland McGrath2008-12-031-1/+47
| | | | | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
* * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): RecognizeUlrich Drepper2008-12-031-0/+2
| | | | | | | | | ESRCH return value. (_nss_dns_gethostbyname4_r): Likewise. * resolv/res_init.c (__res_vinit): Initialize nscount to zero. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use gethostbyname4_r, we don't have a separate IPv6 status, so copy the no_data variable.
* * socket/sys/socket.h: Declare accept4.Ulrich Drepper2008-12-034-71/+125
| | | | | | | | | | | | | | | | | * socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict searchUlrich Drepper2008-11-271-7/+1
| | | | to IPv4 or IPv6 if an interface has been found.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system hasUlrich Drepper2008-11-271-0/+6
| | | | neither IPv4 nor IPv6 addresses defined, don't do anything.
* * sysdeps/mach/strerror_l.c: New file.Roland McGrath2008-11-261-0/+102
|
* * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...Roland McGrath2008-11-262-2/+61
| | | | | | | | * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
* Moved alpha to ports repository.Roland McGrath2008-11-26315-27896/+0
| | | | | | | | | | | 2008-11-25 Roland McGrath <roland@redhat.com> * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: Subdirectories moved to ports repository. * configure.in (base_machine): Remove alpha case.
* [BZ #6411]Ulrich Drepper2008-11-1717-89/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6411] * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically choose mtfsf insn based on PPC_FEATURE_HAS_DFP. (relax_fenv_state): Same as above. (FPSCR_29): Reserve bit in ISA 2.05. (FPSCR_NI): Provide define for compat. * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to test setcontext and swapcontext with dynamic 64-bit FPSCR detection. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S (*setcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP.
* [BZ #7029]Ulrich Drepper2008-11-131-2/+2
| | | | | | | | 2008-11-13 Ulrich Drepper <drepper@redhat.com> [BZ #7029] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): Multiply with sizeof of __cpu_mask, not 8 unconditionally after all the rounding.
* 2008-11-11 Roland McGrath <roland@redhat.com>Roland McGrath2008-11-111-0/+3
| | | | * sysdeps/x86_64/configure: New file.
* * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the Jakub Jelinek2008-11-071-1/+1
| | | | | | | | correct instruction to remove the stack frame. 2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the correct instruction to remove the stack frame.
* * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, Jakub Jelinek2008-11-071-2/+2
| | | | | | | | __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. 2008-11-03 Michael Matz <matz@suse.de> * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, __arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
* * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2008-11-072-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
* [BZ #6867]Ulrich Drepper2008-10-311-2/+2
| | | | * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.
* 2008-10-02 Pierre Habouzit <madcoder@debian.org>Ulrich Drepper2008-10-311-2/+2
| | | | | * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall and fix its calling convention.
* [BZ #6947]Ulrich Drepper2008-10-311-2/+9
| | | | | | | | | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE return value in case rlimit is RLIM_INFINITY. [BZ #6947] * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value for UL_SETFSIZE.
* [BZ #6995]Ulrich Drepper2008-10-311-2/+2
| | | | | | 2008-10-31 Ulrich Drepper <drepper@redhat.com> [BZ #6995] * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message.
* * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. Jakub Jelinek2008-10-163-3/+3
| | | | | | | | | | | | __nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. 2008-10-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. __nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
* * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, Jakub Jelinek2008-10-113-4/+14
| | | | | | | | | | | | | | | make sure any registers used with 64-bit 'branch-on-register' instructions have their top 32-bits clear. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. 2008-10-09 Jakub Jelinek <jakub@redhat.com> David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, make sure any registers used with 64-bit 'branch-on-register' instructions have their top 32-bits clear. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.
* * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.Ulrich Drepper2008-09-232-2/+2
| | | | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* Fix last commit.Andreas Jaeger2008-09-021-0/+71
|
* [BZ #6845]Ulrich Drepper2008-08-172-133/+9
| | | | | | | | | | 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6845] * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new __signbitl definition and __LONG_DOUBLE_128__ guard from: * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as redundant. Functions which call floating point assembler operations should go into a sysdeps powerpc/fpu directory.
* * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.Ulrich Drepper2008-08-152-0/+2
| | | | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* * sysdeps/x86_64/memset.S: Reduce size of tables for PIC.Ulrich Drepper2008-08-141-426/+442
|
* * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo allUlrich Drepper2008-08-142-35/+17
| | | | | | | | | | change related to AT_EXECFN. We cannot use that string. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove _dl_execfn member. * elf/dl-support.c: Remove _dl_execfn variable. (_dl_aux_init): Remove handling of AT_EXECFN. * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.