aboutsummaryrefslogtreecommitdiff
path: root/lib/libelftc
Commit message (Collapse)AuthorAgeFilesLines
* Update ELF Tool Chain to r3614Ed Maste2018-04-271-1/+1
| | | | | | | | | MFC after: 1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=333063
* libelftc: bump version, tracking import in r320343Ed Maste2017-07-051-1/+1
| | | | Notes: svn path=/head/; revision=320663
* libelftc: bump version number for r317075Ed Maste2017-04-171-1/+1
| | | | Notes: svn path=/head/; revision=317076
* Install the lib/libelftc manpagesEnji Cooper2016-12-171-1/+9
| | | | | | | | | Some other manpages, e.g. c++filt reference these MFC after: 1 week Notes: svn path=/head/; revision=310186
* Update to ELF Tool Chain r3490Ed Maste2016-08-312-1/+2
| | | | | | | | | | | | | | Improvements include: * readelf: report all relocation types in rel/rela for MIPS N64 * readelf: add ELFOSABI_ARM_AEABI * elfdump: add ELFOSABI_ARM_AEABI and ELFOSABI_ARM * Add recent RISC-V relocations * elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=305130
* Use the in-tree sys/elf_common.h to build libelftc.Bryan Drewery2016-06-051-0/+13
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=301471
* Update to ELF Tool Chain r3477Ed Maste2016-05-251-1/+1
| | | | | | | | | | | | | | | | This fixes a EFI/PE header issue that prevented elfcopy-produced .efi files from working with Secure Boot: Make sure section raw size is always padded to multiple of FileAlignment from the optional header, as requested by the PE specification. This change should reduce the diff between PE image generated by Binutils objcopy and elftoolchain elfcopy. Submitted by: kaiw Reported by: ambrisko Notes: svn path=/head/; revision=300698
* Update to ELF Tool Chain r3475Ed Maste2016-05-202-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=300311
* elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeEd Maste2016-04-211-1/+1
| | | | | | | | | | | It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998 Notes: svn path=/head/; revision=298401
* Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainEd Maste2016-04-181-1/+1
| | | | | | | | | | This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=298204
* MFHGlen Barber2016-02-151-1/+1
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295639
| * Update ELF Tool Chain to upstream rev 3400Ed Maste2016-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=295577
* | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* Use MAN= to specify that no man page is providedEd Maste2016-01-221-1/+1
| | | | | | | | | NO_MAN is deprecated. Reviewed by: imp Notes: svn path=/head/; revision=294608
* Update elftc version to 3272M, imported in r292120Ed Maste2016-01-181-1/+1
| | | | Notes: svn path=/head/; revision=294297
* Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.Simon J. Gerraty2015-06-151-0/+14
| | | | Notes: svn path=/head/; revision=284424
* Update to ELF Tool Chain r3223Ed Maste2015-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=283616
* Update to ELF Tool Chain r3197Ed Maste2015-05-141-1/+1
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=282918
* Update reported elftoolchain version to 3179Ed Maste2015-04-061-1/+1
| | | | | | | Missed in r280932 Notes: svn path=/head/; revision=281147
* Update elftoolchain to upstream revision 3163Ed Maste2015-02-171-1/+1
| | | | | | | | | | Most of our changes have now been committed upstream, so this change is largely bookkeeping. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=278904
* Update reported elftoolchain versionEd Maste2015-01-221-1/+1
| | | | | | | | | | | The last elftoolchain update is upstream rev 3136. Update our reported version and add M (Modified) suffix as our elftoolchain contains additional fixes not yet committed upstream. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=277534
* Update elftoolchain to upstream rev 3130Ed Maste2014-12-291-1/+1
| | | | | | | | | | | | | | | This includes a number of libdwarf improvements (particularly DWARF4 related) and updates to elftoolchain tools such as strip(1). It also includes a large number of miscellaneous fixes (memory leaks, sign and cast warnings, integer overflow and underflow, etc.). This is a merge of r276167,276170-276172 from the projects/elftoolchain-update-r3130 branch. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=276371
* Build infrastructure for elftoolchain toolsEd Maste2014-12-012-0/+40
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224 Notes: svn path=/head/; revision=275373