about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-09-15 14:53:34 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-09-16 15:16:55 +0000
commit268375c1c017c0bdefeed1a330811e433c4dfaef (patch)
tree0f3a8825bef465c2c45e07462f8446d541652072 /lib
parent271c21194467838d6ca63d83faeebc966e204c03 (diff)
downloadmusl-268375c1c017c0bdefeed1a330811e433c4dfaef.tar.gz
musl-268375c1c017c0bdefeed1a330811e433c4dfaef.tar.xz
musl-268375c1c017c0bdefeed1a330811e433c4dfaef.zip
update include/elf.h following glibc changes
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions