about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #2423]Roland McGrath2006-03-1615-623/+1047
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-07 Jakub Jelinek <jakub@redhat.com> [BZ #2423] * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, round_test, trunc_test): Only run some of the new tests if LDBL_MANT_DIG > 100. 2006-03-03 Steven Munroe <sjmunroe@us.ibm.com> Alan Modra <amodra@bigpond.net.au> * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround): Define inline implementations. * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround. * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround. * sysdeps/powerpc/fpu/math_ldbl.h: New file. [BZ #2423] * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, round_test, trunc_test): Add new tests. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA): Removed, replaced with ... (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack, ldbl_canonicalise, ldbl_nearbyint): New functions. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa and ldbl_insert_mantissa. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa. (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding that spans doubles in IBM long double format. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed.
* * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don'tRoland McGrath2006-03-161-0/+5
| | | | define for hppa, which doesn't support this syscall.
* 2004-12-09 Randolph Chung <tausq@debian.org>Roland McGrath2006-03-161-1/+1
| | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't define for hppa, which doesn't support this syscall.
* [BZ #2451]Ulrich Drepper2006-03-154-9/+62
| | | | | | | | | | | | 2006-03-13 Jakub Jelinek <jakub@redhat.com> [BZ #2451] * elf/dl-load.c (open_verify): Add free_name argument, if true, free name before calling lose. (open_path): Adjust caller. (_dl_map_object): Adjust callers. Free name_copy before calling _dl_signal_error. * elf/Makefile: Add rules to build and run tst-leaks1. * elf/tst-leaks1.c: New test.
* * sysdeps/unix/sysv/linux/ia64/dl-sysdep.hUlrich Drepper2006-03-081-0/+5
| | | | (DL_SYSINFO_IMPLEMENTATION): Add missing newline.
* (DL_SYSINFO_IMPLEMENTATION): Add missing newline.Ulrich Drepper2006-03-081-2/+2
|
* * version.h (VERSION): 2.4 glibc-2.4 cvs/glibc-2_4 cvs/fedora-glibc-20060306T1239Roland McGrath2006-03-067-296/+252
| | | | | | | | | | * README.template: Update for 2.4. * README: Regenerated. * manual/install.texi (Configuring and compiling): Separate build directory is mandatory. Use glibc-2.4 in example. Update --enable-add-ons description. (Supported Configurations): Remove section. * INSTALL: Regenerated.
* * sysdeps/unix/sysv/linux/x86_64/sysconf.cRoland McGrath2006-03-063-22/+16
| | | | | | | | | | (handle_intel, handle_amd): Add __attribute__ ((noinline)). * sysdeps/unix/sysv/linux/i386/sysconf.c (handle_i486, handle_intel, handle_amd): Likewise. * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle _SC_CPUTIME and _SC_THREAD_CPUTIME here. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise.
* * sysdeps/mach/hurd/faccessat.c: New file.Roland McGrath2006-03-0622-109/+858
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/fchmodat.c: New file. * sysdeps/mach/hurd/fchownat.c: New file. * sysdeps/mach/hurd/fxstatat.c: New file. * sysdeps/mach/hurd/fxstatat64.c: New file. * sysdeps/mach/hurd/linkat.c: New file. * sysdeps/mach/hurd/mkdirat.c: New file. * sysdeps/mach/hurd/openat.c: New file. * sysdeps/mach/hurd/openat64.c: New file. * sysdeps/mach/hurd/symlinkat.c: New file. * sysdeps/mach/hurd/unlinkat.c: New file. * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat. Guts move to ... * sysdeps/mach/hurd/xmknodat.c: ... here, new file. * hurd/lookup-at.c: New file. * hurd/Makefile (routines): Add it. * hurd/hurd/fd.h: Declare __file_name_lookup_at, __file_name_split_at and __directory_name_split_at. * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split. * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr unconditionally. * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases. * sysdeps/mach/hurd/open64.c: New file.
* * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value. cvs/fedora-glibc-20060306T0720Roland McGrath2006-03-064-7/+36
| | | | | | | | | | | | The correct value differs only on powerpc32, and for now changing it there is causing more trouble than it's worth. * malloc/arena.c: Add compile-time sanity check on padding calculation. 2006-03-05 Jakub Jelinek <jakub@redhat.com> * malloc/arena.c (heap_info): Adjust the padding size if MALLOC_ALIGNMENT > 2 * SIZE_SZ.
* * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0Roland McGrath2006-03-064-92/+215
| | | | | | | | | | | | | | rather than #ifdef _POSIX_FOO for options. We should return -1 at runtime for an option defined to 0 at compile time. * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options, many to -1 or 0. 2006-03-05 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME, _SC_THREAD_CPUTIME.
* * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings.Roland McGrath2006-03-0610-116/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside within ENTRY/END. * sysdeps/sparc/sparc32/memcpy.S: Likewise. * sysdeps/sparc/sparc32/stpcpy.S: Likewise. * sysdeps/sparc/sparc32/strcat.S: Likewise. * sysdeps/sparc/sparc32/strchr.S: Likewise. * sysdeps/sparc/sparc32/strcmp.S: Likewise. * sysdeps/sparc/sparc32/strcpy.S: Likewise. * sysdeps/sparc/sparc32/strlen.S: Likewise. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings and use __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use CFI markings and __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange code to reside within ENTRY/END. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file. * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed. * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it.
* * shlib-versions: Use sparc64.*- for CPU patterns.Roland McGrath2006-03-0634-457/+437
|
* * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define.Roland McGrath2006-03-052-1/+11
|
* * sysdeps/mach/hurd/opendir.c (__opendir): Likewise.Roland McGrath2006-03-052-25/+4
|
* * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORYRoland McGrath2006-03-052-1/+7
| | | | to force directory check.
* * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bitsRoland McGrath2006-03-054-38/+18
| | | | | of SEL are clear after copying %gs to low bits. (_hurd_tls_fork): Likewise.
* [BZ #2414]Roland McGrath2006-03-032-3/+8
| | | | | | 2006-03-03 Roland McGrath <roland@redhat.com> [BZ #2414] * stdlib/tst-setcontext.c (f1): Take arguments of type int.
* * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.Roland McGrath2006-03-031-0/+14
| | | | | | | | | | | | 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com> * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases. Allow libc_cv_slibdir et al. to be overridden. * sysdeps/unix/sysv/linux/configure: Regenerated. 2005-12-27 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): Skip prelink temporaries.
* 2006-03-02 Roland McGrath <roland@redhat.com>Roland McGrath2006-03-031-1/+1
| | | | * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
* * elf/check-textrel.c: Don't include "config.h".Ulrich Drepper2006-03-022-1/+4
|
* * sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups.Ulrich Drepper2006-03-022-5/+10
|
* * io/ftw.c (process_entry): If dir->streamfd != -1,Ulrich Drepper2006-03-022-6/+19
| | | | | use FXSTATAT rather than LXSTAT to find if unstatable file is a dead symlink.
* 006-03-02 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2006-03-025-0/+69
| | | | | | | | | | | | | | * elf/check-textrel.c: Include config.h. (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known to have executable writable PLT. * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New test. * config.h.in (HAVE_PPC_SECURE_PLT): Add. * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double) if long double is more aligned than 2 * SIZE_SZ. (misaligned_chunk): Define. (public_rEALLOc, _int_free, _int_realloc): Use it.
* (MALLOC_ALIGNMENT): Set to __alignof__ (long double) if long double is more ↵Ulrich Drepper2006-03-021-6/+12
| | | | aligned than 2 * SIZE_SZ. (misaligned_chunk): Define. (public_rEALLOc, _int_free, _int_realloc): Use it.
* [BZ #2013] cvs/fedora-glibc-20060302T0855Roland McGrath2006-03-021-0/+6
| | | | | | | 2006-01-05 H.J. Lu <hongjiu.lu@intel.com> [BZ #2013] * sysdeps/ia64/memccpy.S: Properly handle recovery for predicated speculative load.
* [BZ #2013]Roland McGrath2006-03-021-9/+46
| | | | | | | 2006-01-05 H.J. Lu <hongjiu.lu@intel.com> [BZ #2013] * sysdeps/ia64/memccpy.S: Properly handle recovery for predicated speculative load.
* * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.SUlrich Drepper2006-03-022-0/+15
| | | | | | | | | | | | (__lll_robust_lock_wait): Also set FUTEX_WAITERS bit if we got the mutex. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise.
* (__lll_robust_lock_wait): Also set FUTEX_WAITERS buit if we got the mutex. ↵Ulrich Drepper2006-03-022-2/+6
| | | | (__lll_robust_timedlock_wait): Likewise.
* * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.Roland McGrath2006-03-013-1/+15
| | | | | * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use libc_hidden_ver rather than libc_hidden_def.
* * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.Roland McGrath2006-03-015-9/+104
| | | | | * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use inline asm to make sure the compiler doesn't optimize insns out.
* * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.hRoland McGrath2006-03-012-1/+6
| | | | (DECLARGS_6): Fix a typo.
* * version.h (VERSION): 2.3.91Roland McGrath2006-03-015-11/+25
| | | | | | | | | | * Makeconfig (sysdeps-srcdirs): New variable. (sysdeps-add-ons-srcdirs): Use it. * csu/Makefile (all-Banner-files): Use it. * Makefile (dist-selector): New variable. (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs contain one version-named directory.
* * Makefile (format-me): Use --plaintext --no-number-sections.Roland McGrath2006-03-014-46/+45
| | | | * NOTES, INSTALL: Regenerated.
* * NEWS: Update 2.4 items.Roland McGrath2006-03-012-5/+23
|
* * configure.in (machine): Match sparcv9v and sparc64v.Roland McGrath2006-03-017-0/+741
| | | | | | | | * configure: Regenerated. * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file. * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file.
* * sysdeps/mach/hurd/Subdirs: Use "first hurd".Roland McGrath2006-03-012-1/+13
|
* Move sysdeps/rs6000 off to ports.Roland McGrath2006-03-0110-768/+4
| | | | | | 2006-02-28 Roland McGrath <roland@redhat.com> * sysdeps/rs6000: Directory removed, saved in ports repository.
* * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c. cvs/fedora-glibc-20060301T0647Roland McGrath2006-03-015-12/+383
| | | | | | * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c. * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.
* * elf/tst-tls-dlinfo.c: New file.Roland McGrath2006-03-0120-135/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/Makefile (tests): Add it. ($(objpfx)tst-tls-dlinfo): Depend on $(libdl). ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so. * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum values, reserve unsupported requested names used on Solaris. (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values. (RTLD_DI_MAX): Likewise. * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and RTLD_DI_TLS_DATA. * elf/dl-tls.c (_dl_tls_get_addr_soft): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it. * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid, dlpi_tls_data. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in. * include/link.h: Don't copy contents from elf/link.h. Instead, #include it while #define'ing around link_map. * elf/dl-debug.c (_dl_debug_initialize): Add a cast. Add bogus extern decl to verify link_map members. * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map. (OUT, main): Use it in place of _r_debug._r_map. * elf/unload.c: Likewise. * elf/unload2.c: Likewise. * elf/neededtest.c (check_loaded_objects): Likewise. * elf/neededtest2.c (check_loaded_objects): Likewise. * elf/neededtest3.c (check_loaded_objects): Likewise. * elf/neededtest4.c (check_loaded_objects): Likewise. * elf/circleload1.c (check_loaded_objects): Likewise.
* * nscd/nscd_helper.c: Include <time.h> for `time' declaration.Roland McGrath2006-03-012-1/+4
|
* * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto.Roland McGrath2006-03-016-5/+34
| | | | | | | | | | * io/openat.c (__openat): Define instead of openat. Use libc_hidden_def. Define openat with weak_alias. * io/openat64.c (__openat64): Define instead of openat64. Use libc_hidden_def. Define openat64 with weak_alias. * sysdeps/unix/sysv/linux/openat.c: Likewise. * libio/genops.c: Include <sched.h> for __sched_yield decl.
* * Makeconfig (+includes): Add back $(includes)Roland McGrath2006-03-015-4/+16
| | | | | | after $(+sysdep-includes). * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
* * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):Roland McGrath2006-02-282-3/+10
| | | | typedef to long int resp. unsigned long int on 64-bit arches.
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64Roland McGrath2006-02-288-7/+282
| | | | | | | | | | | | | | umount.c rather than hppa umount.c. * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c rather than m68k chown.c. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh fchownat.c rather than m68k fchownat.c. * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c. * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k fchownat.c. * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c. * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa umount.c.
* * sysdeps/hppa: Directory removed, saved in ports repository.Roland McGrath2006-02-28414-17409/+48
| | | | | | | | | | | | | | | * sysdeps/mach/hppa: Likewise. * sysdeps/mach/hurd/hppa: Likewise. * sysdeps/unix/sysv/linux/hppa: Likewise. * configure.in (machine): Remove hppa* cases. * configure: Regenerated. * shlib-versions: Remove hppa cases. * sysdeps/m68k: Directory removed, saved in ports repository. * sysdeps/unix/bsd/m68k: Likewise. * sysdeps/unix/sysv/linux/m68k: Likewise. * configure.in (machine): Remove m68* cases. * configure: Regenerated.
* * elf/rtld-Rules (subdir-args): New variable.Roland McGrath2006-02-2813-8/+351
| | | | (rtld-subdir-make): Use it.
* * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.hRoland McGrath2006-02-283-6/+40
| | | | | | (DO_CALL): Add support for 6 system call parameters. (DECLARGS_6, ASMFMT_6): Define. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.Roland McGrath2006-02-282-14/+42
|
* * scripts/config.guess: Update from master, timestamp='2006-02-27'.Roland McGrath2006-02-286-303/+390
| | | | * scripts/config.sub: Update from master, timestamp='2006-02-27'.