about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel.Ulrich Drepper2008-05-104-13/+6
| | | | | | | | | | | (__ieee754_y0l): Likewise. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. (__ieee754_y1l): Likewise. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for frexpl and ldexpl. math_private.h provides them and the latter is not even used. (__log1pl): Use __frexpl.
* * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsendUlrich Drepper2008-05-101-73/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prototypes. * include/arpa/nameser_compat.h: Define T_UNSPEC. * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle af==AF_UNSPEC. (_nss_nis_gethostbyname4_r): New function. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change to also handle af==AF_UNSPEC. (get_tablename): New function. Use it to avoid duplication. (_nss_nisplus_gethostbyname4_r): New function. * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is available. * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. * nss/nss.h: Define struct gaih_addrtuple. * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle af==AF_UNSPEC. (_nss_files_gethostbyname4_r): New function. * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery calls. * resolv/res_query.c (__libc_res_nquery): Take two additional parameters for second answer buffer. Handle type=T_UNSPEC to mean look up IPv4 and IPv6. Change all callers. * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters for an additional query and answer buffer. Pass to send_vc and send_dg. (send_vc): Send possibly two requests and receive two answers. (send_dg): Likewise. * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and __libc_res_nquery. (_nss_dns_gethostbyname4_r): New function. (gaih_getanswer_slice): Likewise. (gaih_getanswer): Likewise. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust __libc_res_nquery call. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is available.
* * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. Jakub Jelinek2008-05-062-0/+8
| | | | | | | | * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. 2008-05-05 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build.
* * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0,Roland McGrath2008-05-061-11/+45
| | | | | CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h.
* * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. Jakub Jelinek2008-05-056-0/+481
| | | | | | | | | | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for Jakub Jelinek2008-05-052-0/+2
| | | | | | | | | | 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.
* Define RUSAGE_THREAD and RUSAGE_LWP.Ulrich Drepper2008-05-013-3/+27
|
* * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): Jakub Jelinek2008-04-291-1/+1
| | | | | | | | | | 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.
* * nscd/Makefile (nscd-cflags): Set back to -fpie.Ulrich Drepper2008-04-221-1/+6
| | | | | | | | | | * 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.
* * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16.Ulrich Drepper2008-04-201-0/+54
|
* * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. cvs/glibc-2_8-base cvs/glibc-2_8-branchJakub Jelinek2008-04-171-0/+1
| | | | | | 2008-04-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.
* * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): glibc-2.8 cvs/glibc-2_8 cvs/fedora-glibc-20080412T0741Ulrich Drepper2008-04-121-2/+2
| | | | Also use for 32-bit.
* * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): UseUlrich Drepper2008-04-121-4/+4
| | | | __nextafter instead of nextafter to avoid local PLT.
* * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.Ulrich Drepper2008-04-122-6/+10
| | | | * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
* * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. IncludeUlrich Drepper2008-04-121-1/+1
| | | | <fenv_libc.h> instead of <fenv.h>.
* * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper2008-04-1216-73/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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.
* * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernelUlrich Drepper2008-04-111-1/+1
| | | | version for ppc64 to 2.4.21 since without it makecontext will fail.
* * elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABIUlrich Drepper2008-04-111-1/+1
| | | | | | in use. (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. (TLS_GD): Likewise.
* [BZ4997]Ulrich Drepper2008-04-114-87/+146
| | | | | | | | | | | | | * 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.
* * include/features.h (__GLIBC_MINOR__): Bump to 8.Ulrich Drepper2008-04-116-6/+0
| | | | | | | | | * 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.
* [BZ #5741]Ulrich Drepper2008-04-111-5/+11
| | | | | | | | | 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.
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):Ulrich Drepper2008-04-101-22/+27
| | | | | Always set ELF_RTYPE_CLASS_PLT. (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.
* * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.Ulrich Drepper2008-04-103-1/+182
| | | | | | | | | * 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.
* [BZ #5768]Ulrich Drepper2008-04-105-14/+443
| | | | | | | | | | | | | | | 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.
* isnan implementation for ppc32.Ulrich Drepper2008-04-101-0/+56
|
* isnan implementation for Power6x 64-bitUlrich Drepper2008-04-101-0/+59
|
* * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.Ulrich Drepper2008-04-106-0/+337
| | | | | | | | | * 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.
* [BZ #4407]Ulrich Drepper2008-04-101-0/+6
| | | | | | | 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.
* * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.Ulrich Drepper2008-04-106-122/+456
| | | | | | | | * 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.
* [BZ #4314]Ulrich Drepper2008-04-091-11/+46
| | | | * sysdeps/i386/i686/memcpy.S: Optimize copying of aligned buffers.
* [BZ #5209]Ulrich Drepper2008-04-091-1/+1
| | | | | * sysdeps/unix/sysv/syscalls.list: times syscalls doesn't return an error value.
* [BZ #5436]Ulrich Drepper2008-04-093-11/+21
| | | | | | | | | | | | | | 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.
* [BZ #6040]Ulrich Drepper2008-04-081-1/+9
| | | | * locales/fr_FR: Fix abmon, abday, d_ftm, grouping.
* * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for sizeUlrich Drepper2008-03-301-8/+20
| | | | provided through st_blksize, try the default size before giving up.
* [BZ #5939]Ulrich Drepper2008-03-301-1/+1
| | | | * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.
* * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open cvs/fedora-glibc-20080328T1347Ulrich Drepper2008-03-276-12/+2
| | | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX ifUlrich Drepper2008-03-273-7/+30
| | | | | | | | | <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.
* * posix/gai.conf: Fix comment for scope nullbits.Ulrich Drepper2008-03-261-0/+1
| | | | | * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, default to 128 bits for v4 mapped addresses.
* * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSERUlrich Drepper2008-03-243-18/+4
| | | | | | | | 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.
* [BZ #5857]Ulrich Drepper2008-03-242-3/+17
| | | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/adjtime.c: Correctly useUlrich Drepper2008-03-241-4/+6
| | | | ADJ_OFFSET_SS_READ.
* * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,Ulrich Drepper2008-03-241-1/+6
| | | | remove CLONE_STOPPED.
* Remove useless "if" before "free".Ulrich Drepper2008-03-192-4/+2
|
* * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead Jakub Jelinek2008-03-171-1/+1
| | | | | | | | | | | | 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.
* [BZ #5753] Andreas Jaeger2008-03-102-8/+8
| | | | | | | * 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-08 Roland McGrath <roland@frob.com>Roland McGrath2008-03-081-1/+5
| | | | | | * 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>.
* * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code forUlrich Drepper2008-03-081-2/+4
| | | | | | .o file. * elf/Makefile (routines): Add dl-sysdep. (elide-routines.os): Likewise.
* [BZ #5786]Ulrich Drepper2008-03-085-99/+130
| | | | | | | | | | | | | * 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.
* * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): AddUlrich Drepper2008-03-081-2/+3
| | | | | | | | | | | _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.
* [BZ #5778]Ulrich Drepper2008-03-084-9/+64
| | | | | | | | | | | | | * 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>