summaryrefslogtreecommitdiff
path: root/include/elf.h
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13elf.h: add NT_ definitions from linux v5.0Szabolcs Nagy1-0/+2
NT_MIPS_MSA for ptrace access to mips simd arch reg set, added in linux commit 3cd640832894b85b5929d5bda74505452c800421 NT_ARM_PAC_MASK for ptrace access to pointer auth code mask, added in commit ec6e822d1a22d0eef1d1fa260dff751dba9a4258
2019-03-13elf.h: update with C-SKY definitionsSzabolcs Nagy1-1/+57
C-SKY support was added to binutils 2.32 in commit b8891f8d622a31306062065813fc278d8a94fe21 the elf.h change was added to glibc 2.29 in commit 4975f0c3d0131fdf697be0b1631c265e5fd39088
2019-03-13elf.h: add new mips core dump note values from linux v4.19Szabolcs Nagy1-0/+2
NT_MIPS_FP_MODE is new in linux commit 1ae22a0e35636efceab83728ba30b013df761592 NT_MIPS_DSP is new in linux commit 44109c60176ae73924a42a6bef64ef151aba9095
2018-12-09add NT_VMCOREDD to elf.h from linux v4.18Szabolcs Nagy1-0/+1
used for device driver dump in /proc/vmcore new in linux commit 2724273e8fd00b512596a77ee063f49b25f36507
2018-12-09add AT_MINSIGSTKSZ to elf.h from linux v4.18Szabolcs Nagy1-0/+1
new in linux commit 94b07c1f8c39c6d839df35fa28ffd1785d385897 currently only supported on aarch64
2018-06-12add missing m68k relocation types in elf.hRich Felker1-1/+19
2018-02-22elf.h: add DT_SYMTAB_SHNDXSzabolcs Nagy1-1/+2
it's a recent addition to elf gabi: http://sco.com/developers/gabi/latest/revision.html based on discussions at https://sourceware.org/bugzilla/show_bug.cgi?id=15835
2018-02-22elf.h: syncronize DF_1_ flags with binutilsSzabolcs Nagy1-0/+2
DF_1_STUB and DF_1_PIE were added in binutils-gdb commit 5c383f026242d25a3c21fdfda42e5ca218b346c8
2018-02-22elf.h: update NT_* coredump elf notes for linux v4.15Szabolcs Nagy1-0/+21
NT_ARM_SVE and NT_S390_RI_CB are new in linux commits 43d4da2c45b2f5d62f8a79ff7c6f95089bb24656 and 262832bc5acda76fd8f901d39f4da1121d951222 the rest are older. musl missed NT_PRFPREG because it followed the glibc api: https://sourceware.org/bugzilla/show_bug.cgi?id=14890
2018-02-22elf.h: add PPC64_OPT_LOCALENTRYSzabolcs Nagy1-0/+1
allows calling extern functions without saving r2, for details see glibc commit 0572433b5beb636de1a49ec6b4fdab830c38cdc5
2018-02-22elf.h: add AT_* auxval macros for cache geometrySzabolcs Nagy1-0/+8
AT_L1I_*, AT_L1D_*, AT_L2_* and AT_L3_* were added in linux v4.11 for powerpc in commit 98a5f361b8625c6f4841d6ba013bbf0e80d08147.
2016-10-20elf.h: update EM_ elf machine defines and add R_BPF_ definesSzabolcs Nagy1-1/+101
sync with gabi: http://www.sco.com/developers/gabi/latest/ch4.eheader.html EM_BPF is new in linux v4.8 and officially assigned: https://lists.iovisor.org/pipermail/iovisor-dev/2016-June/000266.html added related relocs too.
2016-07-03make brace placement in public header typedef'd structs consistentRich Felker1-12/+6
commit befa5866ee30d09c0c96e88af2eabff5911342ea performed this change for struct definitions that did not also involve typedef, but omitted the latter.
2016-07-03add EF_SH_ sh specific macros to elf.hSzabolcs Nagy1-1/+22
last time elf.h was thoroughly updated sh was not yet supported so these processor specific e_flags were missing.
2016-07-03add NT_ARM_SYSTEM_CALL to elf.hSzabolcs Nagy1-0/+1
new regset in linux v3.18 for ptrace.
2016-07-03add missing x86 relocs to elf.hSzabolcs Nagy1-2/+5
see https://sourceware.org/ml/libc-alpha/2016-01/msg00822.html
2016-07-03add DT_MIPS_RLD_MAP_REL to elf.hSzabolcs Nagy1-1/+2
marks different RLD_MAP for debugging PIE binaries.
2016-07-03add SHF_COMPRESSED section flag to elf.hSzabolcs Nagy1-0/+23
following http://www.sco.com/developers/gabi/latest/ch4.sheader.html
2016-07-03add powerpc tls optimization related definitions to elf.hSzabolcs Nagy1-2/+6
see https://sourceware.org/ml/libc-alpha/2015-03/msg00580.html
2016-07-03add nios2 definitions to elf.hSzabolcs Nagy1-0/+50
2016-07-03update elf.h with mips abi flags supportSzabolcs Nagy1-1/+70
following https://sourceware.org/ml/libc-alpha/2014-05/msg00332.html
2016-07-03update elf.h with new aarch64 relocsSzabolcs Nagy1-1/+13
add ilp32 related relocs and alternative names for a few macros following https://sourceware.org/ml/libc-alpha/2014-11/msg00455.html
2016-07-03update elf.h with powerpc64 elfv2 abi related macrosSzabolcs Nagy1-2/+8
see https://sourceware.org/ml/libc-alpha/2013-11/msg00315.html https://sourceware.org/ml/libc-alpha/2013-11/msg00314.html
2016-07-03add new powerpc64 relocations to elf.hSzabolcs Nagy1-0/+9
following the corresponding binutils and glibc changes https://sourceware.org/ml/binutils/2013-10/msg00372.html
2016-07-03add EM_OPENRISC again to elf.hSzabolcs Nagy1-0/+1
it was changed to EM_OR1K in 200d15479c0bc48471ee7b8e538ce33af990f82e as that was meant to be the official name, but glibc and the latest gabi spec still uses the EM_OPENRISC name: http://www.sco.com/developers/gabi/latest/ch4.eheader.html binutils defines both macros so we should do the same for backward compatibility.
2015-09-12add sh relocation types needed for fdpic to elf.hRich Felker1-0/+8
2015-05-01fix integer overflow in elf.h macro SHF_EXCLUDERich Felker1-1/+1
2014-07-18add or1k (OpenRISC 1000) architecture portStefan Kristiansson1-1/+37
With the exception of a fenv implementation, the port is fully featured. The port has been tested in or1ksim, the golden reference functional simulator for OpenRISC 1000. It passes all libc-test tests (except the math tests that requires a fenv implementation). The port assumes an or1k implementation that has support for atomic instructions (l.lwa/l.swa). Although it passes all the libc-test tests, the port is still in an experimental state, and has yet experienced very little 'real-world' use.
2014-02-25elf.h: add aarch64 relocationsSzabolcs Nagy1-0/+111
2014-02-25elf.h: new elf header flag to mark 2008-NaN vs legacy-NaN on mipsSzabolcs Nagy1-0/+1
see glibc commit 9c21573c02446b3d5cf6a34b67c8545e5be6a600
2013-09-16update include/elf.h following glibc changesSzabolcs Nagy1-27/+143
the changes were verified using various sources: linux: include/uapi/linux/elf.h binutils: include/elf/common.h glibc: elf/elf.h sysv gabi: http://www.sco.com/developers/gabi/latest/contents.html sun linker docs: http://docs.oracle.com/cd/E18752_01/pdf/817-1984.pdf and platform specific docs - fixed: EF_MIPS_* E_MIPS_* e_flags: fixed accoding to glibc and binutils - added: ELFOSABI_GNU for EI_OSABI entry: glibc, binutils and sysv gabi EM_* e_machine values: updated according to linux and glibc PN_XNUM e_phnum value: from glibc and linux, see oracle docs NT_* note types: updated according to linux and glibc DF_1_* flags for DT_FLAGS_1 entry: following glibc and oracle docs AT_HWCAP2 auxv entry for more hwcap bits accoding to linux and glibc R_386_SIZE32 relocation according to glibc and binutils EF_ARM_ABI_FLOAT_* e_flags: added following glibc and binutils R_AARCH64_* relocs: added following glibc and aarch64 elf specs R_ARM_* relocs: according to glibc, binutils and arm elf specs R_X86_64_* relocs: added missing relocs following glibc - removed: HWCAP_SPARC_* flags were moved to arch specific header in glibc R_ARM_SWI24 reloc is marked as obsolete in glibc, not present in binutils not specified in arm elf spec, R_ARM_TLS_DESC reused its number see http://www.codesourcery.com/publications/RFC-TLSDESC-ARM.txt - glibc changes not pulled in: ELFOSABI_ARM_AEABI (bare-metal system, binutils and glibc disagrees about the name) R_68K_* relocs for unsupported platform R_SPARC_* ditto EF_SH* ditto (e_flags) EF_S390* ditto (e_flags) R_390* ditto R_MN10300* ditto R_TILE* ditto
2012-10-15microblaze TLS relocation support, completely untestedRich Felker1-1/+8
2012-09-29microblaze portRich Felker1-0/+24
based on initial work by rdp, with heavy modifications. some features including threads are untested because qemu app-level emulation seems to be broken and I do not have a proper system image for testing.
2012-06-15header file fixes: multiple include guard consistency and correctnessRich Felker1-1/+1
one file was reusing another file's macro name, and many had inconsistent underscores and application of SYS prefix, etc. patch by Szabolcs Nagy (nsz)
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+2524