about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix termios bit macros.Roland McGrath2008-05-051-1/+24
| | | | | | | | | | | | | | | | | | | | | | Move *DLY definitions where they belong, in termios.h. Add *[0-3] definitions. Fixes confusion between VT and FF. * bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h. (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, VTDLY, VT0, VT1): New macros. [__USE_GNU] (OLCUC): Change value of macro. [__USE_XOPEN] (OFILL): New macro. [__USE_BSD] (CRTSCTS): Change value. (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. (B7200, B14400, B28800, B76800): New macros.
* 2007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-05-051-6/+88
| | | | | | | | | | | | | | | | | | | | | | | Fix termios bit macros. Move *DLY definitions where they belong, in termios.h. Add *[0-3] definitions. Fixes confusion between VT and FF. * bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h. (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, VTDLY, VT0, VT1): New macros. [__USE_GNU] (OLCUC): Change value of macro. [__USE_XOPEN] (OFILL): New macro. [__USE_BSD] (CRTSCTS): Change value. (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. (B7200, B14400, B28800, B76800): New macros.
* * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. Jakub Jelinek2008-05-057-0/+489
| | | | | | | | | | | | | | | | | * 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-053-0/+8
| | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD andUlrich Drepper2008-05-011-0/+7
| | | | | | RUSAGE_LWP. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* Define RUSAGE_THREAD and RUSAGE_LWP.Ulrich Drepper2008-05-013-3/+27
|
* * stdlib/tst-setcontext.c: Include unistd.h.Jakub Jelinek2008-04-302-1/+6
| | | | | | 2008-04-30 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-setcontext.c: Include unistd.h.
* * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): Jakub Jelinek2008-04-292-1/+7
| | | | | | | | | | 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-225-6/+21
| | | | | | | | | | * 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-203-8/+62
|
* [BZ #5209, BZ #5381]Ulrich Drepper2008-04-1915-252/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-15 Ulrich Drepper <drepper@redhat.com> [BZ #5209] * sysdeps/unix/sysv/linux/times.c: New file. [BZ #5381] * nscd/nscd.h: Define enum in_flight, mem_in_flight, and mem_in_flight_list variables. Add new parameter to mempool_alloc prototype. * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize appropriate mem_in_flight element. (gc): Take allocations which have not yet been committed to the database into account. * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. Reset mem_in_flight before returning. * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and cue it up in mem_in_flight_list. * nscd/aicache.c: Adjust mempool_alloc call. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/pwdcache.c: Likewise. * nscd/servicescache.c: Likewise. * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead of -fpie. * nscd/connections.c (handle_request): Provide better error message in case SELinux forbids the service. * version.h (VERSION): Bump to 2.8.90.
* (VERSION): Bump to 2.8.90.Ulrich Drepper2008-04-191-2/+2
|
* * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. cvs/glibc-2_8-base cvs/glibc-2_8-branchJakub Jelinek2008-04-172-0/+5
| | | | | | 2008-04-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.
* * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c Jakub Jelinek2008-04-152-1/+6
| | | | | | | | (__old_sem_wait): Fix argument to lll_futex_wait(). 2008-04-14 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c (__old_sem_wait): Fix argument to lll_futex_wait().
* * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): glibc-2.8 cvs/glibc-2_8 cvs/fedora-glibc-20080412T0741Ulrich Drepper2008-04-122-2/+4
| | | | Also use for 32-bit.
* * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): UseUlrich Drepper2008-04-122-4/+6
| | | | __nextafter instead of nextafter to avoid local PLT.
* * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.Ulrich Drepper2008-04-123-6/+13
| | | | * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
* * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. IncludeUlrich Drepper2008-04-122-2/+3
| | | | <fenv_libc.h> instead of <fenv.h>.
* * scripts/data/localplt-powerpc64-linux-gnu.data: New file.Ulrich Drepper2008-04-122-0/+8
|
* * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper2008-04-1219-74/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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-112-1/+4
| | | | version for ppc64 to 2.4.21 since without it makecontext will fail.
* * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define accordingUlrich Drepper2008-04-111-4/+5
| | | | | | | to the ABI in use. [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. [__powerpc64__] (TLS_GD): Likewise.
* * elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABIUlrich Drepper2008-04-113-3/+15
| | | | | | in use. (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. (TLS_GD): Likewise.
* [BZ #4997] cvs/fedora-glibc-20080411T1934Ulrich Drepper2008-04-111-1/+1
|
* [BZ4997]Ulrich Drepper2008-04-116-87/+203
| | | | | | | | | | | | | * 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.
* * configure.in: Check for -fno-section-anchors in addition toUlrich Drepper2008-04-113-8/+13
| | | | -fno-toplevel-reorder.
* * include/features.h (__GLIBC_MINOR__): Bump to 8.Ulrich Drepper2008-04-118-7/+12
| | | | | | | | | * 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 #5443]Ulrich Drepper2008-04-114-16/+23
| | | | | | | | 2008-04-11 Jakub Jelinek <jakub@redhat.com> [BZ #5443] * time/era.c: Transform __libc_setlocale_lock into rwlock. * time/alt_digit.c: Likewise. * wcsmbs/wcsmbsload.c: Likewise.
* * version.h (VERSION): Bump to 2.8.Ulrich Drepper2008-04-115-184/+102
|
* * timzeone/asia: Update from tzdata2008b.Ulrich Drepper2008-04-119-60/+358
| | | | | | | | | | | | | * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/zone.tab: Likewise. * timezone/private.h: Update from tzcode2008a. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise.
* [BZ #5741]Ulrich Drepper2008-04-112-5/+19
| | | | | | | | | 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/unix/sysv/syscalls.list: The times syscall doesn't have cvs/fedora-glibc-20080410T1907Ulrich Drepper2008-04-101-2/+2
| | | | a reserved error value.
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):Ulrich Drepper2008-04-102-22/+33
| | | | | 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-104-2/+191
| | | | | | | | | * 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-106-14/+457
| | | | | | | | | | | | | | | 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
|
* * stdlib/tst-makecontext.c (othervar): New variable. Jakub Jelinek2008-04-102-1/+7
| | | | | | | | (cf): Test sign extending the argument to long. 2008-04-10 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-makecontext.c (othervar): New variable. (cf): Test sign extending the argument to long.
* isnan implementation for Power6x 64-bitUlrich Drepper2008-04-101-0/+59
|
* * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.Ulrich Drepper2008-04-109-1/+353
| | | | | | | | | * 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.
* * elf/Makefile (tests): Substitute tests-vis-yes here.Ulrich Drepper2008-04-102-7/+11
| | | | | (tests-vis-yes): Delete. (modules-name, modules-vis-yes): Similarly.
* [BZ #4407]Ulrich Drepper2008-04-102-0/+12
| | | | | | | 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-108-124/+491
| | | | | | | | * 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-092-11/+49
| | | | * sysdeps/i386/i686/memcpy.S: Optimize copying of aligned buffers.
* * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't returnUlrich Drepper2008-04-092-1/+5
|
* [BZ #5209]Ulrich Drepper2008-04-093-1/+10
| | | | | * sysdeps/unix/sysv/syscalls.list: times syscalls doesn't return an error value.
* [BZ #5436]Ulrich Drepper2008-04-097-35/+60
| | | | | | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record returnUlrich Drepper2008-04-091-0/+5
| | | | PC save.
* * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.Ulrich Drepper2008-04-093-269/+234
|
* [BZ #5998]Ulrich Drepper2008-04-093-4/+19
| | | | | | | | 2008-04-09 Ulrich Drepper <drepper@redhat.com> [BZ #5998] * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing in line-buffered stream failed. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
* [BZ #6024]Ulrich Drepper2008-04-092-0/+8
| | | | | | * scripts/abi-versions.awk: If the version specified by --enable-oldest-abi is older than the first version for this architecture, use the default version.