]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
readelf: Add RISC-V DWARF register aliases
authormhorne <mhorne@FreeBSD.org>
Sun, 30 Jun 2019 19:47:15 +0000 (19:47 +0000)
committermhorne <mhorne@FreeBSD.org>
Sun, 30 Jun 2019 19:47:15 +0000 (19:47 +0000)
commit65b7473beb86063aaacbbd40a6dd76d61c18745b
treecbd9228c8cfedbe7655b3b295f2adab32f2cf7ec
parenteee39314a12db090fdcb4fd14d3de3b5277aea3f
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
contrib/elftoolchain/readelf/readelf.c