* elf/dl-runtime.c (fixup, profile_fixup): The final arg to
authorrth <rth>
Mon, 6 Apr 1998 19:08:36 +0000 (19:08 +0000)
committerrth <rth>
Mon, 6 Apr 1998 19:08:36 +0000 (19:08 +0000)
commit9a43d0099676865f6f6a20882bd9ca8f929ec9dd
tree043e8f94c26a711e1ed7629f71069fc33707fe3a
parent305085cc1c63afcd3a79b8d73ff7d953edeb94e5
    * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
        _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
        * elf/elf.h (EM_SPARC64): Remove.
        (EM_SPARC32PLUS, EM_SPARCV9): Add.
        (HWCAP_SPARC_V9): Add.
        * elf/ldsodefs.h (_dl_hwcap): Declare.
        * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
        Weaken so dlopen from static progies works.
        (WEAKADDR): New macro.
        (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
        (LD_SO_PRELOAD): New macro.
        (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
        (elf_machine_rela): Weaken _dl_rtld_map.
        * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
        to __clone, and remove the later's alias.
        * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
        the kernel's structure.
ChangeLog
elf/dl-runtime.c
elf/elf.h
elf/ldsodefs.h
sysdeps/sparc/sparc32/dl-machine.h
sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
sysdeps/unix/sysv/linux/sparc/sparc32/socket.S
sysdeps/unix/sysv/linux/sparc/sparc64/clone.S