summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/readelf
Commit message (Collapse)AuthorAgeFilesLines
* elftoolchain: backwards compatability for EM_RISCV definitionemaste2016-05-201-0/+3
| | | | | | It is not provided by sys/elf_common.h on older releases Reported by: Jenkins
* elftoolchain: backwards compatability for EM_IAMCU definitionemaste2016-05-201-0/+3
| | | | It is not provided by sys/elf_common.h on older stable/10.
* Update to ELF Tool Chain r3475emaste2016-05-201-569/+42
| | | | | | | | | | | | | | | | | | | | | Improvements include: * Add support for reporting and handling a number of new constants in various tools, including: * CloudABI OSABI * DT_TLSDESC_* * i386, MIPS, SPARC and amd64 relocations * C++ demangler bug fixes * Man page updates * Improved input validation in several tools This update also reduces diffs against upstream as a number of fixes included in upstream were previously cherry-picked into FreeBSD. Sponsored by: The FreeBSD Foundation
* Update ELF Tool Chain to upstream rev 3400emaste2016-02-122-25/+55
| | | | | | | | | | | | | | | | | | | | | | | | | Some notable improvements include: readelf: - Add AArch64 relocation definitions. - Report value of unknown relocation types. elfcopy: - Consider symbols with STB_GNU_UNIQUE binding as global symbols. - Fixed support for VMA adjustment for loadable sections found in relocatable objects. - Handle nameless global symbols. - Improve wildcard matching for !-prefixed symbols. - Add PE/COFF support. elfdump: - Improve section type reporting. - Add MIPS-specific section types. This update also includes a significant number of bug fixes. PR: 207091 [exp-run] Sponsored by: The FreeBSD Foundation
* readelf: decode AArch64 TLS descriptor relocationsemaste2016-02-051-0/+10
| | | | | | | From ELF for the ARM(R) 64-bit Architecture, table 4-19. Obtained from: ELF Tool Chain r3386 Sponsored by: The FreeBSD Foundation
* readelf: report value of unknown relocation typesemaste2016-02-051-12/+14
| | | | | Obtained from: ELF Tool Chain r3387 Sponsored by: The FreeBSD Foundation
* readelf: avoid accidental fallthrough in RISC-V relocationsemaste2016-02-051-0/+1
| | | | | | | | | This would have printed an unknown RISC-V relocation type as a SPARC relocation. CID: 1331398 Obtained from: ELF Tool Chain r3283 Sponsored by: The FreeBSD Foundation
* Fixed uninitialized variable warnings.kaiw2015-12-131-2/+2
|
* Update to ELF Tool Chain r3272emaste2015-12-111-49/+69
| | | | | | | | | | | Highlights (not already in the FreeBSD tree): - addr2line: Speed up and support searching inlined functions - addr2line: Support -i, -a, -p options - readelf: Add some ARM relocation types - readelf, libelf: Avoid reading beyond end of buffer/file Relnotes: Yes Sponsored by: The FreeBSD Foundation
* readelf: add Xen ELF notesemaste2015-12-031-0/+29
| | | | | | Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4356
* Add definitions for MIPS TLS relocations to elftoolchain.kan2015-10-091-0/+14
| | | | | This makes our readelf more useful when looking for TLS-related issues.
* Update to ELF Tool Chain r3250emaste2015-10-091-23/+90
| | | | | | | | | 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
* Rename ELFOSABI_SYSV to ELFOSABI_NONE to match current specemaste2015-09-241-1/+1
| | | | | | | | 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
* readelf: Correct typo HPUS -> HPUXemaste2015-09-241-1/+1
| | | | Submitted by: kib
* readelf: avoid division by zero on section entry sizeemaste2015-07-241-15/+47
| | | | | | | | | | | ELF Tool Chain tickets #439, #444, #445, #467 Reported by: Alexander Cherepanov <cherepan@mccme.ru> (#467) Reported by: antiAgainst (others) Reviewed by: brooks MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2338
* Add RISC-V ELF machine type definitionemaste2015-07-241-0/+1
| | | | | | | EM_RISCV is now officially registered as e_machine 243. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Update to ELF Tool Chain r3223emaste2015-05-272-7/+68
| | | | | | | | | | | | | | | | | | | | | | Highlights (upstream revisions): - Fix SHT_GROUP handling in elfcopy/strip (3206 3220 3221) - Misc elfcopy / strip bug fixes (3215 3216 3217) - Many C++ demangler improvements (3199 3200 3201 3202 3203 3204 3205 3208 3210 3211 3212) - Improve GNU binutils compatibility in elfcopy / strip (3213 3214) - Add -g option to readelf(1): dump contents of section groups (3219) - Add EM_IAMCU 32-bit Intel MCU (3198) Also add a compat #define for building with older FreeBSD ELF headers. The GRP_COMDAT flag was added to elf_common.h in r283110, but it's not available during the bootstrap build. It is also convenient to be able to build on older hosts. Thanks to antoine@ for tracking down issues through multiple exp-runs and to kaiw@ for fixing. PR: 198611 (exp-run), 200350 Sponsored by: The FreeBSD Foundation
* Update to ELF Tool Chain r3197emaste2015-05-142-12/+24
| | | | | | | | | | Highlights: - Fix man page markup, whitespace, and typos - Fix sh_info of SHT_GROUP section to point to the correct string - Improve validation in readelf and elfcopy/strip - Handle DWARF 4's DW_AT_high_pc in addr2line Sponsored by: The FreeBSD Foundation
* Update elftoolchain to upstream revision 3179emaste2015-04-011-2/+5
| | | | | | | | | | | | | Some notable changes: - libdwarf: Fixed DWARF4 line section - elfcopy: Implement --localize-hidden - nm: handle object name referenced by DW_AT_specification - elfcopy: Add --strip-dwo and --extract-dwo options for split DWARF - readelf: add remaining arm64 dynamic relocation names - nm: Avoid integer overflow in value comparison Relnotes: Yes Sponsored by: The FreeBSD Foundation
* Update elftoolchain to upstream revision 3163emaste2015-02-171-8/+38
| | | | | | | Most of our changes have now been committed upstream, so this change is largely bookkeeping. Sponsored by: The FreeBSD Foundation
* redelf: Add missing R_X86_64_ relocation typesemaste2015-01-211-0/+14
| | | | | | | PR: 196918 Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1570
* readelf: Handle note types from different operating systemsemaste2015-01-051-62/+134
| | | | | | | | | | | Previously elftoolchain readelf(1) produced correct description text only for Linux note types. Upstream elftoolchain ticket #473 Differential Revision: https://reviews.freebsd.org/D1428 Reviewed by: kib Sponsored by: The FreeBSD Foundation
* readelf: Correct rounding on note paddingemaste2015-01-021-7/+7
| | | | | | | | | | In general 64-bit ELF notes use 4-byte padding, not 8, despite what is claimed in various specs. Upstream elftoolchain ticket 472 https://sourceforge.net/p/elftoolchain/tickets/472/ Sponsored by: The FreeBSD Foundation
* readelf: Add stdint.h for C99 fixed size typesemaste2014-12-311-0/+1
| | | | | | | Upstream elftoolchain brings in stdint.h via an ELF header that we do not use in FreeBSD. Sponsored by: The FreeBSD Foundation
* Rename DT_FEATURE_1 to DT_FEATUREemaste2014-12-291-1/+1
| | | | | | | | | | Track r270303: This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN documentation can be found for either variant, but GNU binutils switched to DT_FEATURE around 2000. Sponsored by: The FreeBSD Foundation
* Update elftoolchain to upstream rev 3130emaste2014-12-242-315/+756
| | | | | | This brings a number of fixes to elfcopy/strip and DWARF4 improvements. Sponsored by: The FreeBSD Foundation
* Add AArch64 machine time and relocations for readelfemaste2014-12-221-0/+62
| | | | | | Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1333
* Copy elftoolchain readelf from vendor branchemaste2014-12-163-0/+7057
OpenPOWER on IntegriCloud