about summary refs log tree commit diff
path: root/elf/elf.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement x86 SIZE32/SIZE64 relocationsH.J. Lu2013-01-161-1/+1
|
* 2013-01-11 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-01-111-2/+4
| | | | | | | * elf/elf.h (EF_MIPS_ARCH_32): Fix value. (EF_MIPS_ARCH_64): Fix value. (EF_MIPS_ARCH_32R2): New. (EF_MIPS_ARCH_64R2): New.
* Fix whitespace in elf.h MIPS macros.Roland McGrath2013-01-101-86/+86
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Add values from Linux 3.7 to <elf.h>Andreas Jaeger2012-12-281-0/+5
|
* Check supported DF_1_XXX bitsH.J. Lu2012-11-211-0/+9
|
* Adjust comment above AArch64 relocs.Marcus Shawcroft2012-11-081-1/+1
|
* Adding AArch64 support to elf/elf.hMarcus Shawcroft2012-11-071-0/+18
|
* elf.h: add new tilegx relocations (copy from binutils trunk)Chris Metcalf2012-11-031-3/+14
|
* Synchronize with linux/elf.h.Petr Machata2012-09-061-0/+9
| | | | Add new ARM and s390 note constants e.g. NT_*.
* Check floating-point ABI in ARM VALID_ELF_HEADER.Steve McIntyre2012-08-231-0/+3
|
* Add new AM33 relocsMark Salter2012-08-081-2/+17
|
* S/390: Add support for STT_GNU_IFUNC symbols.Andreas Krebbel2012-07-191-1/+2
| | | | | | Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE relocation. Provide optimized version of memcpy, memset, and memcmp for z10 and z196.
* Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32H.J. Lu2012-05-101-1/+2
|
* Handle some new sparc relocation types.David S. Miller2012-04-071-0/+1
| | | | | | | | * elf/elf.h (R_SPARC_WDISP10): Define. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE32. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE64 and R_SPARC_H34.
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Add Tile relocation types.Chris Metcalf2012-01-301-3/+219
|
* Define ELFOSABI_GNU.Roland McGrath2011-09-091-1/+2
|
* Sanitize HWCAP_SPARC_* defines/usage, and add new entries.David S. Miller2011-09-011-11/+0
|
* elf.h: Define R_ARM_IRELATIVE reloc type.Richard Sandiford2011-04-191-1/+2
|
* elf/elf.h: Add new ARM TLS relocs.Nathan Sidwell2011-02-181-1/+7
|
* elf/elf.h: Add SH specific ELF header flags.Matt Fleming2010-04-131-0/+24
|
* elf/elf.h (ELFOSABI_ARM_AEABI): Define.Joseph Myers2010-04-051-0/+1
|
* elf.h: Add missing R_X86_64_*64 relocs.Roland McGrath2010-03-111-1/+7
|
* Define new x86-64 relocation symbolsUlrich Drepper2010-03-041-1/+3
|
* Define NT_X86_XSTATE constant for ELF core files.Roland McGrath2010-02-281-0/+1
|
* Sparc STT_GNU_IFUNC supportDavid S. Miller2010-02-101-0/+2
|
* Add m68k TLS relocationsMaxim Kuvyrkov2010-02-101-1/+22
|
* /390: Add runtime check for the highgprs kernel feature.Andreas Krebbel2010-01-151-0/+6
|
* Add new ELF constant PN_XNUM.Roland McGrath2010-01-071-1/+7
|
* Implement IFUNC for PPC.Alan Modra2009-10-301-9/+14
|
* Define NT_GNU_GOLD_VERSION.Ulrich Drepper2009-07-261-0/+3
|
* Define STB_GNU_UNIQUE.Ulrich Drepper2009-07-071-0/+1
|
* Finish IFUNC support for x86 and x86-64.Ulrich Drepper2009-05-311-2/+4
| | | | Add support for the IRELAIVE relocation and IFUNC in static executables.
* 2009-04-14 Roland McGrath <roland@redhat.com>Roland McGrath2009-04-151-22/+42
| | | | * elf/elf.h: Add various missing ARM constants, to match binutils.
* Missed copyright year updateRoland McGrath2009-04-021-1/+1
|
* 2009-04-01 Roland McGrath <roland@redhat.com>Roland McGrath2009-04-021-1/+13
| | | | | | | | | | | * elf/elf.h (R_SPARC_GLOB_JMP): New macro. (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. (R_SPARC_NUM): Update. From Dave Miller <davem@davemloft.net>.
* * config.h.in (USE_MULTIARCH): Define.Ulrich Drepper2009-03-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Handle --enable-multi-arch. * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. (_dl_fixup_profile): Likewise. * elf/do-lookup.c (dl_lookup_x): Likewise. * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. * elf/elf.h (STT_GNU_IFUNC): Define. * include/libc-symbols.h (libc_ifunc): Define. * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the framework in init-arch.h to get CPUID values. * sysdeps/x86_64/multiarch/Makefile: New file. * sysdeps/x86_64/multiarch/init-arch.c: New file. * sysdeps/x86_64/multiarch/init-arch.h: New file. * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. * config.make.in (experimental-malloc): Define. * configure.in: Handle --enable-experimental-malloc. * malloc/Makefile: Handle experimental-malloc flag. * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. * malloc/arena.c: Likewise. * malloc/hooks.c: Likewise. * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
* (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.Ulrich Drepper2009-01-111-0/+4
|
* * elf/elf.h (NT_386_IOPERM): New macro.Roland McGrath2008-11-261-0/+2
| | | | (NT_PPC_VSX): New macro.
* 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>Roland McGrath2008-10-011-2/+11
| | | | | | | | | | * elf/elf.h (STO_MIPS_PLT): New. (R_MIPS_COPY): New. (R_MIPS_JUMP_SLOT): New. (R_MIPS_NUM): Redefine to 128. (DT_MIPS_PLTGOT): New. (DT_MIPS_RWPLT): New. (DT_MIPS_NUM): Redefine to 0x35.
* * elf/elf.h: Define AT_EXECFN.Ulrich Drepper2008-07-241-0/+2
| | | | | | | | | | | | | | | | * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle LD_ORIGIN_PATH. * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. (_dl_aux_init): Handle AT_EXECFN. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN for 2.6.27 and up. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use _dl_execfn if available and avoid compatibility code if __ASSUME_AT_EXECFN is defined.
* Introduce TLS descriptors for i386 and x86_64.Ulrich Drepper2008-05-131-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/inline-hashtab.h: New file, copied from 2005's libiberty, with fix for memory leak imported afterwards by Glauber de Oliveira Costa. * elf/tlsdeschtab.h: New file. * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... (_dl_allocate_static_tls): ... here. Rearrange failure path. (CHECK_STATIC_TLS): Move to... * elf/dynamic-link.h: ... this file. (TRY_STATIC_TLS): New macro. * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC): Define. (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from binutils. (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, R_X86_64_TLSDESC): Define. (R_386_NUM, R_X86_64_NUM): Adjust. * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, systep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. (gen-as-const-headers): Add tlsdesc.sym to csu subdir. * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to release tlsdesc_table. * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. (elf_machine_rel): Handle R_386_TLS_DESC. (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. (elf_machine_lazy_rela): Likewise. * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. * sysdeps/i386/dl-tlsdesc.S: New file. * sysdeps/i386/dl-tlsdesc.h: New file. * sysdeps/i386/tlsdesc.c: New file. * sysdeps/i386/tlsdesc.sym: New file. * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add tlsdesc_table. * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, systep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. (gen-as-const-headers): Add tlsdesc.sym to csu subdir. * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to release tlsdesc_table. * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. (elf_machine_rel): Handle R_X86_64_TLSDESC. (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. (__tls_get_addr): Do not declare for non-shared compiles. * sysdeps/x86_64/dl-tlsdesc.S: New file. * sysdeps/x86_64/dl-tlsdesc.h: New file. * sysdeps/x86_64/tlsdesc.c: New file. * sysdeps/x86_64/tlsdesc.sym: New file. * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add tlsdesc_table for both 32- and 64-bit structs.
* 2008-02-19 Roland McGrath <roland@redhat.com>Roland McGrath2008-02-201-0/+1
| | | | * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro.
* * elf/elf.h (NT_PPC_SPE): New macro.Roland McGrath2008-02-091-0/+1
|
* 2008-01-30 Roland McGrath <roland@redhat.com>Roland McGrath2008-01-301-1/+3
| | | | * elf/elf.h (NT_386_TLS): New macro.
* 2007-10-06 David S. Miller <davem@davemloft.net>Jakub Jelinek2007-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Add sparcv9v2 and sparc64v2. * scripts/config.sub: Likewise. * configure: Regenerate. * elf/elf.h (HWCAP_SPARC_N2): New. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. 2007-10-06 David S. Miller <davem@davemloft.net> * configure.in: Add sparcv9v2 and sparc64v2. * scripts/config.sub: Likewise. * configure: Regenerate. * elf/elf.h (HWCAP_SPARC_N2): New. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file.
* 2007-10-18 Roland McGrath <roland@redhat.com>Roland McGrath2007-10-181-0/+1
| | | | * elf/elf.h (NT_PPC_VMX): New macro.
* * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R,Ulrich Drepper2007-08-211-0/+22
| | | | | | | | | | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64.
* 2007-07-09 Roland McGrath <roland@redhat.com>Roland McGrath2007-07-101-5/+18
| | | | | | * elf/elf.h (NT_GNU_ABI_TAG): New macro. (ELF_NOTE_ABI): Use it. (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.