freebsd-src/contrib/elftoolchain/libelf
Jessica Clarke 839fdcfc0c elftoolchain: Support building on Arm-based Macs
Currently macOS and DragonFlyBSD get their own special case and only
handle x86. Since all the FreeBSD cases should be general enough for
macOS and DragonFlyBSD (and the x86 ones are identical to the existing
ones) we can just delete the special cases and reuse the FreeBSD ones.

Note that upstream has since removed all the architecture-specific
checks in this file, with the only code relevant to us being an
endianness check that uses the generic compiler-provided macros. Thus
this patch will not be upstreamed, and will be dropped in a future
vendor import.

Reviewed by:	dim
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D29352
2021-03-20 17:58:10 +00:00
..
_libelf_ar.h
_libelf_config.h elftoolchain: Support building on Arm-based Macs 2021-03-20 17:58:10 +00:00
_libelf.h libelf: add compression header support 2020-10-23 16:35:23 +00:00
elf_begin.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_begin.c
elf_cntl.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_cntl.c
elf_data.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_end.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_end.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_errmsg.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_errmsg.c
elf_errno.c
elf_fill.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_fill.c
elf_flag.c
elf_flagdata.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_getarhdr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getarhdr.c
elf_getarsym.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getarsym.c
elf_getbase.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getbase.c
elf_getdata.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_getident.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getident.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_getphdrnum.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getphnum.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getscn.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getshdrnum.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getshdrstrndx.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getshnum.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_getshstrndx.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_hash.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_hash.c
elf_kind.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_kind.c
elf_memory.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_memory.c
elf_next.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_next.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_open.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_open.c
elf_phnum.c
elf_rand.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_rand.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_rawfile.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_rawfile.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_scn.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_shnum.c
elf_shstrndx.c
elf_strptr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_strptr.c
elf_types.m4
elf_update.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_update.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf_version.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
elf_version.c
elf.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elf.c
gelf_cap.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_chdr.c libelf: add compression header support 2020-10-23 16:35:23 +00:00
gelf_checksum.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_checksum.c
gelf_dyn.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_ehdr.c
gelf_fsize.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_fsize.c
gelf_getcap.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getchdr.3 libelf: add compression header support 2020-10-23 16:35:23 +00:00
gelf_getclass.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_getclass.c
gelf_getdyn.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getehdr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_getmove.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getphdr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_getrel.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getrela.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getshdr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_getsym.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getsyminfo.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_getsymshndx.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_mips64el.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
gelf_move.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_newehdr.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_newphdr.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_phdr.c Update ELF Tool Chain to r3614 2018-04-27 13:59:24 +00:00
gelf_rel.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_rela.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_shdr.c
gelf_sym.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_syminfo.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_symshndx.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
gelf_update_ehdr.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_xlate.c Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf_xlatetof.3 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
gelf.3 libelf: add compression header support 2020-10-23 16:35:23 +00:00
gelf.h libelf: add compression header support 2020-10-23 16:35:23 +00:00
libelf_align.c
libelf_allocate.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_ar_util.c
libelf_ar.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_chdr.c libelf: add compression header support 2020-10-23 16:35:23 +00:00
libelf_checksum.c
libelf_convert.m4 libelf: rationalize error handling in ELF note conversion 2020-03-05 20:53:43 +00:00
libelf_data.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_ehdr.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_elfmachine.c Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
libelf_extended.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_fsize.m4
libelf_memory.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_msize.m4 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_open.c
libelf_phdr.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf_shdr.c
libelf_xlate.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelf.h libelf: add compression header support 2020-10-23 16:35:23 +00:00
Makefile Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
os.FreeBSD.mk
os.Linux.mk Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
os.NetBSD.mk
Version.map libelf: add compression header support 2020-10-23 16:35:23 +00:00