aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2008-05-05* sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. Jakub Jelinek
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise.
2008-05-05* sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for Jakub Jelinek
six system call parameters. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. 2008-05-01 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for six system call parameters. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2008-05-01Define RUSAGE_THREAD and RUSAGE_LWP.Ulrich Drepper
2008-04-29* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): Jakub Jelinek
Pass "union semun" properly in to sys_ipc, it must be passed by value, not by reference. 2008-04-25 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): Pass "union semun" properly in to sys_ipc, it must be passed by value, not by reference.
2008-04-22* nscd/Makefile (nscd-cflags): Set back to -fpie.Ulrich Drepper
* nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. * nscd/connections.c (mem_in_flight): Likewise. * nscd/nscd.h (dbs): Make hidden. * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. Avoid returning -1, return 0 instead.
2008-04-20* resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16.Ulrich Drepper
2008-04-17* sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.cvs/glibc-2_8-basecvs/glibc-2_8-branchJakub Jelinek
2008-04-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.
2008-04-12* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):glibc-2.8cvs/glibc-2_8cvs/fedora-glibc-20080412T0741Ulrich Drepper
Also use for 32-bit.
2008-04-12* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): UseUlrich Drepper
__nextafter instead of nextafter to avoid local PLT.
2008-04-12* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.Ulrich Drepper
* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2008-04-12* sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. IncludeUlrich Drepper
<fenv_libc.h> instead of <fenv.h>.
2008-04-12* sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper
__fe_nomask_env. * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. * sysdeps/powerpc/bits/fenv.h: Make safe for C++. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename function from fegetexcept and make old name weak alias. * include/fenv.h: Declare __fegetexcept. * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of fegetexcept. * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call to fetestexcept. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl instead of frexpl to avoid local PLT. * math/s_significandl.c (__significandl): Use __ilogbl instead of ilogbl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl instead of ldexpl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use __roundl not roundl to avoid local PLT. * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid local PLTs. Use __sincosl instead of separate sinl and cosl calls. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2008-04-11* sysdeps/unix/sysv/linux/configure.in: Bump minimal kernelUlrich Drepper
version for ppc64 to 2.4.21 since without it makecontext will fail.
2008-04-11* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABIUlrich Drepper
in use. (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. (TLS_GD): Likewise.
2008-04-11[BZ4997]Ulrich Drepper
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the mantissa. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): Likewise. Also account for when x is an odd number between 2^52 and 2^53-1. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. * math/libm-test.inc (lround_test, llround_test): Added test cases to detect aforementioned erroneous conditions.
2008-04-11* include/features.h (__GLIBC_MINOR__): Bump to 8.Ulrich Drepper
* sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2008-04-11[BZ #5741]Ulrich Drepper
2008-01-24 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5741] * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): Define additonal Data Cache Block instruction macros. (elf_machine_fixup_plt): Add dcbt for opd and plt entries. Replace dcbst with dcbf and sync with sync/isync.
2008-04-10* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):Ulrich Drepper
Always set ELF_RTYPE_CLASS_PLT. (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.
2008-04-10* sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.Ulrich Drepper
* sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): For ISA 2.01 and later replace mftb with mfspr 268. * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned buffers.
2008-04-10[BZ #5768]Ulrich Drepper
2008-02-19 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5768] * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. 2008-02-18 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5768] * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed.
2008-04-10isnan implementation for ppc32.Ulrich Drepper
2008-04-10isnan implementation for Power6x 64-bitUlrich Drepper
2008-04-10* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.Ulrich Drepper
* sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file.
2008-04-10[BZ #4407]Ulrich Drepper
2008-02-12 Pete Eberlein <eberlein@us.ibm.com> [BZ #4407] * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Preserve sign in signgamp when x is zero.
2008-04-10* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.Ulrich Drepper
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File.
2008-04-09[BZ #4314]Ulrich Drepper
* sysdeps/i386/i686/memcpy.S: Optimize copying of aligned buffers.
2008-04-09[BZ #5209]Ulrich Drepper
* sysdeps/unix/sysv/syscalls.list: times syscalls doesn't return an error value.
2008-04-09[BZ #5436]Ulrich Drepper
2008-04-09 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-makecontext.c: Change parameter to cf to negative value to check for correct sign extension. [BZ #5436] * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Copy 64-bit parameter values even though this is not required in the standard. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return PC save.
2008-04-08[BZ #6040]Ulrich Drepper
* locales/fr_FR: Fix abmon, abday, d_ftm, grouping.
2008-03-30* sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for sizeUlrich Drepper
provided through st_blksize, try the default size before giving up.
2008-03-30[BZ #5939]Ulrich Drepper
* sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.
2008-03-27* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add opencvs/fedora-glibc-20080328T1347Ulrich Drepper
and creat system calls. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system call. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat system calls. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2008-03-27* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX ifUlrich Drepper
<linux/limits.h> has defined it. * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy ARG_MAX value and prevent ARG_MAX from being defined by the kernel headers. * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use it instead of ARG_MAX.
2008-03-26* posix/gai.conf: Fix comment for scope nullbits.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, default to 128 bits for v4 mapped addresses.
2008-03-24* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSERUlrich Drepper
ptrace call to get the ieee_instruction_pointer from the kernel. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER ptrace call to set the ieee_instructtion_pointer. * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): Add comment that ieee_instruction_pointer is always 0.
2008-03-24[BZ #5857]Ulrich Drepper
2008-03-09 Andreas Jaeger <aj@suse.de> [BZ #5857] * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. Patch by Mark Elliott <mark.h.elliott@lmco.com>. * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. (rint_test): Likewise.
2008-03-24* sysdeps/unix/sysv/linux/adjtime.c: Correctly useUlrich Drepper
ADJ_OFFSET_SS_READ.
2008-03-24* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,Ulrich Drepper
remove CLONE_STOPPED.
2008-03-19Remove useless "if" before "free".Ulrich Drepper
2008-03-17* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead Jakub Jelinek
of ASSEMBLER. nptl/ * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Likewise. 2008-03-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER.
2008-03-10[BZ #5753] Andreas Jaeger
* sysdeps/ia64/ieee754.h: Use protected namespace __BIG_ENDIAN/__LITTLE_ENDIAN. * sysdeps/ieee754/ieee754.h: Likewise. Patch by Aurelien Jarno <aurelien@aurel32.net>.
2008-03-082008-03-08 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Clear DF bit in thread state's eflags. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2008-03-08* sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code forUlrich Drepper
.o file. * elf/Makefile (routines): Add dl-sysdep. (elide-routines.os): Likewise.
2008-03-08[BZ #5786]Ulrich Drepper
* elf/dl-sysdep.c: Undefine ROUND after use. * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion to ... * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion if necessary. * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here.
2008-03-08* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): AddUlrich Drepper
_dl_tls_get_addr_soft element. * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through GLRO. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead of internal_function.
2008-03-08[BZ #5778]Ulrich Drepper
* sysdeps/unix/sysv/linux/pathconf.h: Declare __statfs_chown_restricted. * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted for _PC_CHOWN_RESTRICTED. * sysdeps/unix/sysv/linux/pathconf.c: Likewise. Implement __statfs_chown_restricted. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change _POSIX_CHOWN_RESTRICTED value to zero. 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com>
2008-03-07* sysdeps/x86_64/rtld-memset.c: New file.Ulrich Drepper
2008-2-26 Harsha Jagasia <harsha.jagasia@amd.com> * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD Barcelona machine. Make default fall through branch of __x86_64_preferred_memory_instruction check as the integer code path. 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/cacheinfo.c (__x86_64_preferred_memory_instruction): New variable. (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. * sysdeps/x86_64/memset.S: Rewrite. 2008-01-08 Jakub Jelinek <jakub@redhat.com> * malloc/malloc.c (public_cALLOc): For arenas other than
2008-03-05* include/stdio.h (__asprintf_chk, __dprintf_chk,cvs/fedora-glibc-20080305T0857Ulrich Drepper
__obstack_printf_chk): New prototypes. (__vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Likewise. Add libc_hidden_proto. * libio/obprintf.c (_IO_obstack_jumps): No longer static, add attribute_hidden. * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): New prototypes. (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, obstack_vprintf): New inlines. * debug/dprintf_chk.c: New file. * debug/vdprintf_chk.c: New file. * debug/asprintf_chk.c: New file. * debug/vasprintf_chk.c: New file. * debug/obprintf_chk.c: New file. * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export @@GLIBC_2.8. * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk and obprintf_chk, set CFLAGS for them. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add libc_hidden_proto. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export @@GLIBC_2.8. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and obstack_vprintf_chk. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file.
2008-02-10* sysdeps/unix/sysv/linux/sys/timerfd.h: New file.Ulrich Drepper
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add sys/timerfd.h. * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, timerfd_gettime, timerfd_settime. * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, timerfd_gettime, timerfd_settime for GLIBC_2.8.
2008-02-10Header for timerfd interfaces.Ulrich Drepper