History log of /freebsd-head/contrib/elftoolchain/elfdump/elfdump.c
Revision Date Author Comments
1cb7944721e65b05cfa8b13ede794e3ed98f47b0 07-Jun-2019 csjp <csjp@FreeBSD.org> Teach readelf about some OpenBSD ELF program headers

- Add constants for OpenBSD wxneeded, bootdata and randomize to the
FreeBSD elf_common.h file. This is the file that gets used by the
elftoolchain library.
- Update readelf and elfdump utilities to decode these program headers
if they are encountered.

Note: FreeBSD has it's own version of elfdump(1), which will be updated
in a subsequent commit. I am adding it here anyway because this diff is
going to be submitted upstream.

Discussed with: emaste
Reviewed by: imp
MFC afer: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20548

M contrib/elftoolchain/elfdump/elfdump.c
M contrib/elftoolchain/readelf/readelf.c
M sys/sys/elf_common.h
994b0b9af9bd71d89affd2e96090dfdd4b66f82c 27-Apr-2018 emaste <emaste@FreeBSD.org> Update ELF Tool Chain to r3614

MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
c652a5328c30f7f03f412b375be38b38413470d1 25-Jun-2017 emaste <emaste@FreeBSD.org> Update to ELF Tool Chain snapshot at r3561

This update is primarily bug fixes in C++ symbol demangling, including:

- rvalue reference
- builtin type auto and decltype(auto)
- revamped support for function return types
- formatting fixes
- omit void when its the only param
- ref-qualifiers and others in function types
- type qualifiers in pointer-to-member function types
- incorrect handling regarding CV-qualifiers in function types
- ref-qualifier found in nested-name
- properly handle <name> ::= <substitute><template-args>
- make sure that nested function name is not a substitute candidate
- correctly handle expression in template args
- skip unknown substitution abbreviations

MFC after: 4 days
3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b 05-Jun-2016 bdrewery <bdrewery@FreeBSD.org> Use the in-tree sys/elf_common.h to build libelftc.

This fixes build failures on older releases that lack various
definitions such as EM_AARCH64 (which was unfixed before this).

Revert all of the recent compatibility changes that worked around this
problem.

This uses the same method of using the in-tree header as lib/libelf,
lib/libdwarf and usr.bin/readelf.

Reviewed by: emaste
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6734
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
8b9acc6e766908c85f390f990f9fedac8c2551a5 20-May-2016 emaste <emaste@FreeBSD.org> elftoolchain: backwards compatability for EM_RISCV definition

It is not provided by sys/elf_common.h on older releases

Reported by: Jenkins
e171aa4de413b7c6477e2e97b1a2f19e33fcc870 20-May-2016 emaste <emaste@FreeBSD.org> elftoolchain: backwards compatability for EM_IAMCU definition

It is not provided by sys/elf_common.h on older stable/10.
ac41e8b0a6a86647d95d96654473088399a00a56 09-Oct-2015 emaste <emaste@FreeBSD.org> Update to ELF Tool Chain r3250

Highlights (not already in the FreeBSD tree):
- addr2line: Fixed multiple memory leaks related to DIE allocation
- readelf: improve sh_link validation
- various man page improvements

Sponsored by: The FreeBSD Foundation
47a49e1e6cd1f4b2d0c68abdf3186595a39423c1 24-Sep-2015 emaste <emaste@FreeBSD.org> Rename ELFOSABI_SYSV to ELFOSABI_NONE to match current spec

Source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3731