#
d003e0d7 |
| 05-Dec-2019 |
Ed Maste <emaste@FreeBSD.org> |
Update ELF Tool Chain to upstream r3769
This contains many small bugfixes and documentation improvements.
Sponsored by: The FreeBSD Foundation
|
#
164e7901 |
| 29-Sep-2019 |
Aleksandr Rybalko <ray@FreeBSD.org> |
Initialize baseaddr to suppres warning.
Pointy hat to: ray
|
#
0705bb9d |
| 29-Sep-2019 |
Aleksandr Rybalko <ray@FreeBSD.org> |
ections into expected offset in binary format. Calculate binary file offset using address field, bacause software know only offset to known data, not where to load segment. With that patch, kernel .d
ections into expected offset in binary format. Calculate binary file offset using address field, bacause software know only offset to known data, not where to load segment. With that patch, kernel .data section can have any alignment/offset - kernel boor fine.
PR: 235391 Reviewed by: markj MFC after: 1 month Differential Revision: D21827
show more ...
|
#
bc589b72 |
| 04-Jun-2019 |
Mark Johnston <markj@FreeBSD.org> |
elfcopy: Use libelftc's string table routines to build .shstrtab.
This replaces some hand-rolled routines and is substantially faster since libelftc uses a hash table for lookups and insertions, whe
elfcopy: Use libelftc's string table routines to build .shstrtab.
This replaces some hand-rolled routines and is substantially faster since libelftc uses a hash table for lookups and insertions, whereas elfcopy would perform a linear scan of the table.
PR: 234949 Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20473
show more ...
|
#
715d1396 |
| 27-Apr-2018 |
Ed Maste <emaste@FreeBSD.org> |
Update ELF Tool Chain to r3614
MFC after: 1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation
|
#
aadb6884 |
| 02-Jan-2018 |
Ed Maste <emaste@FreeBSD.org> |
elfcopy: copy raw (untranslated) contents to binary output
Previously elfcopy used elf_getdata to obtain data from ELF sections being copied to binary output, but elf_getdata returns data that has b
elfcopy: copy raw (untranslated) contents to binary output
Previously elfcopy used elf_getdata to obtain data from ELF sections being copied to binary output, but elf_getdata returns data that has been translated - that is, data is in host byte order. When the host and target differ in endianness (e.g., converting a big-endian MIPS ELF object to binary on an x86 host) this resulted in byte-swapped data in certain sections such as .dynamic.
Instead use elf_rawdata to keep data in the original, target endianness.
Reported by: Hiroki Mori <yamori83@yahoo.co.jp>, Bill Yuan MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
#
b6b6f9cc |
| 20-May-2016 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain r3475
Improvements 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 r3475
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
show more ...
|
#
e5c4075f |
| 20-Apr-2016 |
Ed Maste <emaste@FreeBSD.org> |
elfcopy: map all !alnum characters to '_' in binary input symbol names
This matches bfd and gold.
Obtained from: ELF Tool Chain r3445 Sponsored by: The FreeBSD Foundation
|
#
95fd7f26 |
| 11-Dec-2015 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain r3272
Highlights (not already in the FreeBSD tree): - addr2line: Speed up and support searching inlined functions - addr2line: Support -i, -a, -p options - readelf: Add s
Update to ELF Tool Chain r3272
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
show more ...
|
#
1ce1c689 |
| 11-Dec-2015 |
Ed Maste <emaste@FreeBSD.org> |
elfcopy: include extension but replace . when converting from binary
The change in r291958 was not consistent with GNU objcopy. The start, end and size symbols created for ELF objects converted from
elfcopy: include extension but replace . when converting from binary
The change in r291958 was not consistent with GNU objcopy. The start, end and size symbols created for ELF objects converted from binary need to include the full filename including the extension, but with the periods replaced with underscores.
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4474
show more ...
|
#
fc7284da |
| 07-Dec-2015 |
Ed Maste <emaste@FreeBSD.org> |
elfcopy: exclude extension when converting from binary
When converting from binary to ELF, elfcopy creates symbols _binary_<filename>_start_, _binary_<filename>_end, and _binary_<filename>_size. For
elfcopy: exclude extension when converting from binary
When converting from binary to ELF, elfcopy creates symbols _binary_<filename>_start_, _binary_<filename>_end, and _binary_<filename>_size. For compatibility with GNU objcopy (and to produce sensible symbol names) the extension must be stripped off.
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4238
show more ...
|
#
67d97fe7 |
| 01-Apr-2015 |
Ed Maste <emaste@FreeBSD.org> |
Update elftoolchain to upstream revision 3179
Some notable changes: - libdwarf: Fixed DWARF4 line section - elfcopy: Implement --localize-hidden - nm: handle object name referenced by DW_AT_specific
Update elftoolchain to upstream revision 3179
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
show more ...
|
#
a85fe12e |
| 27-Nov-2014 |
Ed Maste <emaste@FreeBSD.org> |
Copy elftoolchain binutils replacements from vendor branch
Sponsored by: The FreeBSD Foundation
|