* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define properly for n64. (elf_m...
[jlayton/glibc.git] / ChangeLog
index 071f0934b4023b337c60665ea9c01160b9c1223d..8201df04fc53f8e9aaaf2e302dbc7b95b0004dec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,772 @@
+2003-03-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
+       properly for n64.
+       (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
+       type.
+       (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
+       Word before comparing with gotsym.  Take reloc_addr argument as
+       void*.  Remove the code added for the compiler to drop any
+       alignment assumptions.
+
+2003-03-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
+       * include/atomic.h: New file.
+       * sysdeps/i386/i486/bits/atomic.h: New file.
+       * sysdeps/x86_64/bits/atomic.h: New file.
+       * sysdeps/s390/bits/atomic.h: New file.
+       * sysdeps/sh/bits/atomic.h: New file.
+       * sysdeps/ia64/bits/atomic.h: New file.
+       * sysdeps/powerpc/bits/atomic.h: New file.
+       * sysdeps/generic/bits/atomic.h: New file.
+       * sysdeps/i386/i486/atomicity.h: Removed.
+       * sysdeps/x86_64/atomicity.h: Removed.
+       * sysdeps/s390/s390-32/atomicity.h: Removed.
+       * sysdeps/s390/s390-64/atomicity.h: Removed.
+       * sysdeps/ia64/atomicity.h: Removed.
+       * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
+       * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
+       * elf/dl-profile.c: Use atomic.h instead of atomicity.h.  Adjust
+       use of macros from atomicity.h to new names and semantics.
+       * gmon_mcount.c: Likewise.
+       * malloc/set-freeres.c: Likewise.
+       * nscd/cache.c: Likewise.
+       * stdlib/cxa_finalize.c: Likewise.
+       * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
+
+2003-03-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * sysdeps/mips/ieee754.h: New file, suitable to replace both
+       ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
+       mips-specific for now.
+
+2003-03-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
+       hexdigits correctly.  Reported by Fred Tydeman <tydeman@tybor.com>.
+       * stdlib/tst-strtod.c: Add test for the bug.
+
+       * posix/tst-nice.c (do_test): Remove invalid of return value.
+       Don't run test if initial level != 0.
+
+2003-03-19  Amos Waterland  <apw@us.ibm.com>
+
+       * posix/tst-nice.c: New file.
+       * posix/Makefile (tests): Add tst-nice.
+
+2003-03-18  Roland McGrath  <roland@redhat.com>
+
+       * abilist: New directory of libfoo.abilist files maintained using
+       scripts/merge-abilist.awk and "make update-abi" rules.
+       * Makefile (distribute): Add abilist/*.abilist.
+       * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
+       Depend on check-abi.
+
+       * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
+       * configure: Regenerated.
+
+       * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
+
+2003-03-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
+       correctly.
+
+2003-03-18  Steven Munroe  <sjmunroe@us.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/memcpy.S: New file.
+
+2003-03-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * Versions.def: Add GLIBC_2.3.3 for libpthread.
+
+2003-03-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/libc-start.c [!SHARED &&
+       !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
+
+2003-03-17  Roland McGrath  <roland@redhat.com>
+
+       * include/ctype.h: Revert last change.
+
+2003-03-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * argp/tst-argp1.c: Use test-skeleton.c.
+       * locale/tst-C-locale.c: Likewise.
+
+2003-03-17  Alexandre Oliva  <aoliva@redhat.com>
+
+       * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
+       * sysdeps/mips/mips64/n64/Implies: New file.
+       * sysdeps/mips/mips64/n64/Makefile: New file.
+       * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
+       * sysdeps/mips/mips64/n32/Implies: New file.
+       * sysdeps/mips/mips64/n32/Makefile: New file.
+       * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
+       * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
+       * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
+
+       * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
+       lib64 for mips64/n64 and lib32 for mips64/n32.
+       (ldd_rewrite_script): Needed for all mips64 configurations.
+       * sysdeps/unix/sysv/linux/configure: Rebuilt.
+       * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
+       * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
+
+       * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
+       well.
+
+       * sysdeps/unix/sysv/linux/mips/configure.in: New.  Pre-process
+       asm/unistd.h into asm-unistd.h.
+       * sysdeps/unix/sysv/linux/mips/configure: Generated.
+       * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
+       of syscall list.
+       * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
+       * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
+       asm/unistd.h.
+
+       * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
+       * sysdeps/unix/sysv/linux/mips/ptrace.c: New file.  Use long
+       long type for registers on n32.
+
+       * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
+       3 ABIs.
+       * sysdeps/mips/mips64/gmp-mparam.h: New file.  Define
+       BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
+       * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
+       (__sigsetjmp_aux): Use them.  Adjust for all 3 ABIs.
+       * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
+       * sysdeps/unix/mips/brk.S: Likewise.
+       * sysdeps/unix/mips/sysdep.S: Likewise.
+       * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
+       * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
+       * sysdeps/mips/sys/ucontext.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
+       * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
+       * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
+       * sysdeps/mips/mips64/setjmp.S: Likewise.
+       * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
+       * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
+       64-bit types.
+
+2003-03-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
+       not at function level.
+       * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
+
+2003-03-15  Roland McGrath  <roland@redhat.com>
+
+       * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
+       * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
+       * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
+       * nis/nis_table.c (__create_ib_request): Likewise.
+
+       * posix/fnmatch_loop.c: Add casts for signedness.
+       * nss/nss_files/files-hosts.c: Likewise.
+       * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
+       * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
+       * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
+
+       * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
+       get errors into the log file.
+       (libc_cv_broken_visibility_attribute): Likewise.
+       (libc_cv_broken_alias_attribute): Likewise.
+       (libc_cv_asm_weak_directive): Likewise.
+       (libc_cv_need_minus_P): Likewise.
+       (libc_cv_dot_text): Likewise.
+       (libc_cv_asm_global_directive): Likewise.
+       (libc_cv_asm_type_prefix): Likewise.
+       * configure: Regenerated.
+
+       * nscd/cache.c (cache_search): Give first arg type `request_type'.
+       * nscd/nscd.h: Update decl.
+
+       * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
+       * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
+       * elf/dl-close.c (_dl_close): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
+       * io/fts.c (fts_build): Likewise.
+       * elf/cache.c (add_to_cache): Likewise.
+       * locale/programs/locarchive.c (show_archive_content): Likewise.
+
+       * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
+
+       * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
+       happy.
+       (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
+
+2003-03-15  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
+       code for most parts.
+
+2003-03-15  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
+       * sysdeps/unix/sysv/linux/system.c: ... here.
+       (FORK): Don't #define if already #define'd.
+       * sysdeps/unix/sysv/linux/s390/system.c: File removed.
+       * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
+       (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
+
+       * dlfcn/tst-dlinfo.c: New file.
+       * dlfcn/Makefile (tests): Add tst-dlinfo.
+       ($(objpfx)tst-dlinfo): New target.
+
+       * dlfcn/dlinfo.c: New file.
+       * dlfcn/Makefile (libdl-routines): Add it.
+       * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
+       * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
+       [__USE_GNU] (RTLD_DI_*): New enum constants.
+       [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
+       * elf/dl-load.c (cache_rpath): New inline function.
+       (_dl_map_object): Use it.
+       (_dl_rtld_di_serinfo): New function.
+       * sysdeps/generic/ldsodefs.h: Declare it.
+       * elf/Versions (ld: GLIBC_PRIVATE): Add it.
+
+       * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
+       (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
+       (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
+       (__libc_start_main): Just call the generic one for most of the work.
+
+       * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
+       static function by that name instead of BP_SYM (__libc_start_main).
+       [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
+       [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
+       [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
+
+       * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
+       Use this macro for extra AT_* cases.
+       * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
+       New macro, guts from ...
+       (__aux_init_cache): ... here, function removed.
+       (DL_PLATFORM_INIT): Don't define this.
+
+       * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
+       * sysdeps/powerpc/powerpc64/memset.S: Likewise.
+
+       * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
+
+2003-03-14  Roland McGrath  <roland@redhat.com>
+
+       * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
+
+2003-03-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
+
+       * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
+       sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
+
+2003-03-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * sysdeps/mips/fpu/bits/mathdef.h: New.
+       (__NO_LONG_DOUBLE_MATH): Define for o32.
+
+       * sysdeps/mips/sys/asm.h: Formatting changes.
+       (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
+       (CPADD): Define for all of them.
+       (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
+       SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
+       NARGSAVE): Define per ABI spec.
+       (END): Don't redefine.
+       (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
+       LONG_SRAV): Remove duplicate definitions.
+       (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
+       PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
+       PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
+       (PTR_LA): Define for all 3 ABIs.
+
+       * sysdeps/mips/dl-machine.h: Include sys/asm.h.
+       (elf_machine_matches_host): Prevent linking of o32 and n32
+       together.
+       (elf_machine_dynamic): Document assumption on $gp.
+       (STRINGXP, STRINGXV, STRINGV_): New macros.
+       (elf_machine_load_address): Use them to stringize PTR_LA and
+       PTR_SUBU.
+       (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
+       ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
+       (_dl_runtime_resolve): Adjust it for all 3 ABIs.
+       (__dl_runtime_resolve): Cast the symtab initializer to the
+       right type.
+       (RTLD_START): Use it.  Adjust it for all 3 ABIs.
+       (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
+       Handle 64-bit R_MIPS_REL composite relocation and accept
+       R_MIPS_64 relocations to shift addend size to 64 bits.
+       Document assumption regarding local GOT entries.  Document
+       backward-compatibility departing from the ABI behavior in
+       applying relocations that reference section symbols, no longer
+       used.  Support relocations to mis-aligned offsets.
+       * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
+
+       * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
+
+       * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
+       (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
+       * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
+       restore_rt functions.  Use them.
+
+       * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
+       .set mips2 on new abis.
+
+2003-03-13  Ulrich Drepper  <drepper@redhat.com>
+
+       * posix/getconf.c: Recognize POSIX2_SYMLINKS.
+       * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
+       * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
+       * sysdeps/posix/pathconf.c: Likewise.
+       * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
+       * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
+       * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
+
+       * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
+       words.
+
+2003-03-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * include/gmp.h: Include/gmp-mparam.h.
+       * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
+       gmp-impl.h.
+
+       * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
+       ELF_MACHINE_NO_RELA is set.
+       * elf/rtld.c (dl_main): No prelink support for REL-only.
+
+       * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
+       FLAG_MIPS64_LIBN64): Define.
+       * elf/cache.c (print_entry): Handle mips64 n32 and n64.
+
+       * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
+       * sysdeps/mips/memset.S: Likewise.
+       * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
+       depending on the ABI.
+
+       * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
+       Don't .set mips2 on new abi.
+       (compare_and_swap): Likewise.  Support 64-bit longs on n64.
+
+       * stdlib/fpioconst.h: Include gmp.h with angle brackets.
+
+2003-03-13  Roland McGrath  <roland@redhat.com>
+
+       * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
+       found.  Reported by Alexandre Oliva <aoliva@redhat.com>.
+
+2003-03-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
+       literals long long.
+       * stdlib/fpioconst.c: Likewise.
+       * stdlib/strtod.c: Likewise.
+
+       * sysdeps/mips/add_n.S: Use L macro for local labels.
+       * sysdeps/mips/addmul_1.S: Likewise.
+       * sysdeps/mips/lshift.S: Likewise.
+       * sysdeps/mips/memcpy.S: Likewise.
+       * sysdeps/mips/memset.S: Likewise.
+       * sysdeps/mips/mul_1.S: Likewise.
+       * sysdeps/mips/rshift.S: Likewise.
+       * sysdeps/mips/sub_n.S: Likewise.
+       * sysdeps/mips/submul_1.S: Likewise.
+       * sysdeps/mips/mips64/add_n.S: Likewise.
+       * sysdeps/mips/mips64/addmul_1.S: Likewise.
+       * sysdeps/mips/mips64/lshift.S: Likewise.
+       * sysdeps/mips/mips64/mul_1.S: Likewise.
+       * sysdeps/mips/mips64/rshift.S: Likewise.
+       * sysdeps/mips/mips64/sub_n.S: Likewise.
+       * sysdeps/mips/mips64/submul_1.S: Likewise.
+       * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
+       conventions.  Define END as in sys/asm.h.
+       * sysdeps/unix/mips/sysdep.S: Likewise.
+       * sysdeps/unix/mips/wait.S: Likewise.
+       * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
+
+       * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
+       Cast shifted values that may be too narrow to mp_limb_t.
+       * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
+       Likewise.
+       * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
+       (__mpn_extract_long_double): Likewise.
+       * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
+       (__mpn_construct_long_double): Likewise.
+       * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
+       (__mpn_extract_long_double): Likewise.
+       * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
+       (__mpn_construct_long_double): Likewise.
+
+2003-03-13  Roland McGrath  <roland@redhat.com>
+
+       * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
+       entries in the map file match too.
+
+2003-03-13  Guido Guenther  <agx@sigxcpu.org>
+
+       * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
+       label .Lthread_start since current binutils don't allow branches
+       to globally visible symbols.
+
+2003-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
+       ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
+       ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
+       (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it.  Make syscall arguments
+       clobbered by the syscall.
+       (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
+       ASM_ARGS_6): Change constraints from r to index of corresponding
+       output register.
+       * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
+       ptid and ctid to match kernel.
+       * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
+
+2003-03-12  Steven Munroe  <sjmunroe@us.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
+       AC_DEFINE(PI_STATIC_AND_HIDDEN).  Not supported for PowerPC64.
+       * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
+
+2003-03-11  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
+       Check SYM_MAP rather than SYM as definedness check.
+       Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
+       Don't handle R_PPC64_REL24 reloc.
+       Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h
+       [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
+       block, so we cover all the TPREL16* flavors without 6 ||s.
+       [USE_TLS] (elf_machine_tprel): New function.
+       (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
+       and handle TPREL16 relocs too.  Return rather than break for DTPREL64.
+       Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
+
+2003-03-11  Ralf Baechle  <ralf@linux-mips.org>
+
+       * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
+       instead of jalr to invoke subroutine so restoring the $gp register
+       will work properly.
+
+2003-03-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
+       to __NR_pread if not defined.
+       (__NR_pwrite64): Define to __NR_pwrite if not defined.
+
+2003-03-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/system.c: New file.
+       * sysdeps/unix/sysv/linux/kernel-features.h
+       (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
+       kernel >= 2.5.64.
+
+2003-03-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
+       allocate space even for the trailing '/'.
+       Reported by John Reiser <jreiser@BitWagon.com>.
+
+       * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
+       ASM_CLOBBERS_6): Define.
+       (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
+       * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
+       to match IA-32 order.
+       * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
+
+2003-03-10  Steven Munroe  <sjmunroe@us.ibm.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
+       Copy extra params for NPTL to registers used in clone syscall.
+
+2003-03-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
+       call names for pread and pwrite.
+
+2003-03-10  Roland McGrath  <roland@redhat.com>
+
+       * dlfcn/Makefile (libdl-routines): Add dladdr1.
+       * dlfcn/dladdr1.c: New file.
+       * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
+       [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
+       * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
+       a const ElfNN_Sym ** to fill in.
+       * include/dlfcn.h: Update decl.  Include <link.h>.
+       * dlfcn/dladdr.c (dladdr): Update caller.
+       * malloc/mtrace.c (tr_where): Likewise.
+       * sysdeps/generic/elf/backtracesyms.c: Likewise.
+       * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
+       * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
+       * Versions.def (libdl): Define GLIBC_2.3.3 set.
+
+       * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
+       assembler command.
+       * sysdeps/unix/Makefile (compile-syscall): New variable.
+       Pass -g0 to compiler for assembling syscall stubs from stdin.
+
+       * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
+       (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
+       Define these to do nothing.
+
+       * configure.in: New check for -g on .S files.
+       * configure: Regenerated.
+       * config.make.in (have-cpp-asm-debuginfo): New variable.
+       * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
+       * Makeconfig (ASFLAGS): New variable, if undefined and
+       $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
+       * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
+
+2003-03-09  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
+       used by NPTL on new kernels.  From Paul Mackerras <paulus@samba.org>.
+
+2003-03-09  Ulrich Drepper  <drepper@redhat.com>
+
+       * po/fi.po: Update from translation team.
+       * po/ca.po: Likewise.
+       * po/da.po: Likewise.
+
+2003-03-08  Ulrich Drepper  <drepper@redhat.com>
+
+       * rt/tst-aio7.c (do_test): Change BYTES into a #define.
+
+2003-03-07  Ulrich Drepper  <drepper@redhat.com>
+
+       * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
+
+       * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
+
+2003-03-07  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
+       * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
+
+2003-03-04  Guido Guenther  <agx@sigxcpu.org>
+
+       * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
+       stubs, we have INLINE_SYSCALL.
+       * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
+       MAP_NONBLOCK.
+
+2003-03-06  Roland McGrath  <roland@redhat.com>
+
+       * rt/tst-aio7.c (do_test): Revert last change.  Instead, give CB1
+       permanent extent and add a comment about testing its implicit teardown.
+
+2003-03-06  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
+
+2003-03-05  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
+       reversed __builtin_expect expectation.
+
+2003-03-05  Roland McGrath  <roland@redhat.com>
+
+       * stdio-common/sscanf.c: Use prototype defn with ... syntax.
+       * libio/swscanf.c: Likewise.
+       * libio/swprintf.c: Likewise.
+
+2003-03-04  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
+       (elf_machine_rela): Always use RESOLVE_MAP, needed for
+       R_PPC64_JMP_SLOT as well as TLS cases.
+       (BIT_INSERT): Move parenthesis where it ought to have been.
+       Reported by Steven Munroe <sjmunroe@us.ibm.com>.
+
+       * posix/confstr.c (confstr): Correct STRING_LEN values for
+       _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
+       break.  Reported by Alexandre Julliard <julliard@winehq.com>.
+
+2003-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
+
+2003-03-04  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
+       clone parameters.
+
+       * po/sv.po: Update from translation team.
+
+2003-03-04  Andreas Jaeger  <aj@suse.de>
+           Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
+
+2003-03-03  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/dl-sysdep.h: Add double include protection.
+
+       * po/tr.po: Update from translation team.
+
+       * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
+       are holes between the segments.  Only call mprotect to set
+       proection to PROT_NONE if there are some.
+
+       * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
+       Update comment.
+
+       * include/sched.h (__clone2): Use ... instead of adding all the
+       new parameters.
+
+2003-03-03  Roland McGrath  <roland@redhat.com>
+
+       * elf/dl-load.c (struct filebuf): Fix typo in last change.
+
+       * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
+       PI_STATIC_AND_HIDDEN.
+
+2003-03-03  Ian Wienand  <ianw@gelato.unsw.edu.au>
+
+       * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
+       flags.
+       * include/sched.h: Update clone2 prototype.
+
+2003-03-03  Andreas Jaeger  <aj@suse.de>
+
+       * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
+       (llrint): Use it to correct return type.
+       (lrint): Likewise.
+       (lround): Likewise.
+       (llround): Likewise.
+
+2003-03-03  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
+       byte filebuf size.
+
+       * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
+       if ccs parameter isn't valid.  Reported by Andreas Schwab.
+
+2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
+       for system call numbers > 255.
+       * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
+       INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
+       INTERNAL_SYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
+       INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
+       INTERNAL_SYSCALL): Likewise.
+
+2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
+       array if it is the initial dtv.
+
+2003-03-03  Ulrich Drepper  <drepper@redhat.com>
+
+       * po/es.po: Update from translation team.
+       * po/fr.po: Likewise.
+       * po/gl.po: Likewise.
+       * po/sk.po: Likewise.
+       * po/sv.po: Likewise.
+
+       * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
+       * misc/sys/mman.h: Add prototype for remap_file_pages.
+       * sysdeps/generic/remap_file_pages.c: New file.
+       * misc/Makefile (routines): Add remap_file_pages.
+       * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
+
+       * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
+       and MAP_NONBLOCK.
+       * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
+       * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
+
+2003-03-03  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
+       * sysdeps/ia64/dl-machine.h: Likewise.
+       * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
+       argument type.
+       * sysdeps/ia64/dl-lookupcfg.h: Update decl.
+
+       * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
+       * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
+       * locale/Versions (libc: GLIBC_2.3): Move those to ...
+       * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
+       * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
+       * Versions.def (libc): Add GLIBC_2.3.3 set.
+
+       * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
+       * sysdeps/ia64/dl-machine.h: Update decl.
+
+2003-03-03  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
+
 2003-03-02  Roland McGrath  <roland@redhat.com>
 
+       * scripts/abilist.awk: Reject data items with apparent 0 size.
+
+       * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
+       after foo.* as if it were a duplicate.
+
+       * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
+
+2003-03-02  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
+
+       * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
+       * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
+       if not already defined.  Use SYSDEP_GETRES to allow other files to
+       provide alternative implementations.
+       * sysdeps/unix/sysv/linux/clock_getres.c: New file
+       * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
+       if not already defined.  Use SYSDEP_GETTIME to allow other files to
+       provide alternative implementations.
+       * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
+       * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
+       if not already defined.  Use SYSDEP_GETTIME to allow other files to
+       provide alternative implementations.
+       * sysdeps/unix/sysv/linux/clock_settime.c: New file.
+       * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
+       other files to provide alternative implementations.  Rearrange
+       tests for invalid parameters.
+       * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
+       * sysdeps/unix/sysv/linux/sysconf.c: New file.
+       * sysdeps/unix/sysv/linux/kernel-features.h: Define
+       __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
+       * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
+       _POSIX_MONOTONIC_CLOCK.
+
+2003-03-02  Roland McGrath  <roland@redhat.com>
+
+       * scripts/merge-abilist.awk: More checks for bogus input.
+       Uniquify duplicate config names.
+
+       * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
+
        * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
        from dl_reloc_overflow, make global.
        (__process_machine_rela): Update callers.