1a0c2201 | 30-Jun-2019 |
Mitchell Horne <mhorne@FreeBSD.org> |
readelf: Add RISC-V DWARF register aliases
This allows DWARF debugging output to use the common register mneumonics, such as ra, sp, or t0.
DWARF registers 0-31 are mapped to the 32 general purpose
readelf: Add RISC-V DWARF register aliases
This allows DWARF debugging output to use the common register mneumonics, such as ra, sp, or t0.
DWARF registers 0-31 are mapped to the 32 general purpose registers, which are then followed by the 32 floating point registers.
Reviewed by: markj Approved by: markj (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20779
show more ...
|
e16ea340 | 28-Jun-2019 |
Mitchell Horne <mhorne@FreeBSD.org> |
libelftc: add RISC-V bfd targets
This adds the following targets: elf32-riscv, elf64-riscv, elf64-riscv-freebsd
Reviewed by: emaste, markj, jkoshy@users.sourceforge.net Approved by: markj (mentor)
libelftc: add RISC-V bfd targets
This adds the following targets: elf32-riscv, elf64-riscv, elf64-riscv-freebsd
Reviewed by: emaste, markj, jkoshy@users.sourceforge.net Approved by: markj (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20768
show more ...
|
ab69795f | 26-Jun-2019 |
Mark Johnston <markj@FreeBSD.org> |
libdwarf: Use the cached strtab pointer when reading string attributes.
Previously we would perform a linear search of the DWARF section list for ".debug_str". However, libdwarf always caches a poi
libdwarf: Use the cached strtab pointer when reading string attributes.
Previously we would perform a linear search of the DWARF section list for ".debug_str". However, libdwarf always caches a pointer to the strtab image in its debug descriptor. Using it gives a modest performance improvement when iterating over the attributes of each DIE.
Reviewed by: emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20759
show more ...
|
c8b057f4 | 26-Jun-2019 |
Mark Johnston <markj@FreeBSD.org> |
elfcopy: Provide a size hint when creating the section string table.
Use the input file's .shstrtab size as the hint if it exists. This gives a small performance improvement when processing files w
elfcopy: Provide a size hint when creating the section string table.
Use the input file's .shstrtab size as the hint if it exists. This gives a small performance improvement when processing files with many sections.
Reviewed by: emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20544
show more ...
|