Update ELF Tool Chain to upstream r3769This contains many small bugfixes and documentation improvements.Sponsored by: The FreeBSD Foundation
Capsicumize nm(1).Reviewed by: emasteSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D21107
nm: Adjust argc and argv in get_opt().This refactoring makes it slightly easier to capsicumize nm(1).Discussed with: emasteMFC after: 1 weekSponsored by: The FreeBSD Foundation
Update to ELF Tool Chain r3668Highlights:- Make sure that only TLS sections are sorted into TLS segment.- Fixed multiple errors in "Section to Segment mapping".- Man page updates- ar improvemen
Update to ELF Tool Chain r3668Highlights:- Make sure that only TLS sections are sorted into TLS segment.- Fixed multiple errors in "Section to Segment mapping".- Man page updates- ar improvements- elfcopy: avoid filter_reloc uninitialized variable for rela- elfcopy: avoid stripping relocations from static binaries- readelf: avoid printing directory in front of absolute path- readelf: add NT_FREEBSD_FEATURE_CTL FreeBSD note type- test improvementsNOTES:Some of these changes originated in FreeBSD and simply reduce diffsbetween contrib and vendor.ELF Tool Chain ar is not (currently) used in FreeBSD, and there areimprovements in both FreeBSD and ELF Tool Chain ar that are not inthe other.Sponsored by: The FreeBSD Foundation
show more ...
Update ELF Tool Chain to r3614MFC after: 1 weekRelnotes: YesSponsored by: The FreeBSD Foundation
elftoolchain nm(1): Initialize allocated memory before useIn out of memory scenarios (where one of these allocations failed butother(s) did not), nm(1) could reference the uninitialized value of t
elftoolchain nm(1): Initialize allocated memory before useIn out of memory scenarios (where one of these allocations failed butother(s) did not), nm(1) could reference the uninitialized value of theseallocations (undefined behavior).Always initialize any successful allocations as the most expedientresolution of the issue. However, I would encourage upstream elftoolchaincontributors to clean up the error path to just abort immediately, ratherthan proceeding sloppily when one allocation fails.Reported by: CoveritySponsored by: Dell EMC Isilon
nm: document 'r' symbol typePR: 219245MFC after: 3 daysSponsored by: The FreeBSD Foundation
Update ELF Tool Chain to upstream r3520Highlights of changes between r3490 and r3520:- Improve C++ demangling- Improve compatibility with Binutils tools wrt. error messages- Handle additional t
Update ELF Tool Chain to upstream r3520Highlights of changes between r3490 and r3520:- Improve C++ demangling- Improve compatibility with Binutils tools wrt. error messages- Handle additional types/sections/etc. in readelf and elfdump- addr2line, cxxfilt: use setvbuf to set line buffering for filter usePR: 218395MFC after: 2 weeksRelnotes: YesSponsored by: The FreeBSD Foundation
Update to ELF Tool Chain r3475Improvements include: * Add support for reporting and handling a number of new constants in various tools, including: * CloudABI OSABI * DT_TLSDESC_*
Update to ELF Tool Chain r3475Improvements 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 toolsThis update also reduces diffs against upstream as a number of fixesincluded in upstream were previously cherry-picked into FreeBSD.Sponsored by: The FreeBSD Foundation
Update ELF Tool Chain to upstream rev 3400Some notable improvements include:readelf:- Add AArch64 relocation definitions.- Report value of unknown relocation types.elfcopy:- Consider symbols
Update ELF Tool Chain to upstream rev 3400Some 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
Fix style around allocations from M_IP6NDP.- Don't cast the return value of malloc(9).- Use M_ZERO instead of explicitly calling bzero(9).MFC after: 1 week