[PATCH][Binutils][AArch64] Add SVE DWARF registers
Tamar Christina
Tamar.Christina@arm.com
Tue May 14 11:30:00 GMT 2019
Hi All,
The SVE DRAWF register names are missing from binutils, this may cause objdump
and readelf to ignore certain DRAWF output as the registers are unknown (most
notably CIEs).
This patch adds the registers in accordance to the "DWARF for ARM(r) 64-bit
Architecture (AARch64) with SVE support" documentation [1].
[1] https://developer.arm.com/docs/100985/latest/dwarf-for-the-arm-64-bit-architecture-aarch64-with-sve-support
build on native hardware and regtested on
aarch64-none-elf, aarch64-none-elf (32 bit host),
aarch64-none-linux-gnu, aarch64-none-linux-gnu (32 bit host)
Cross-compiled and regtested on
aarch64-none-linux-gnu, aarch64_be-none-linux-gnu
and no issues.
Ok for master? and for backport to binutils-2.32?
Thanks,
Tamar
binutils/ChangeLog:
2019-05-14 Tamar Christina <tamar.christina@arm.com>
* dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
* testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
* testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb11228.patch
Type: text/x-diff
Size: 2780 bytes
Desc: rb11228.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20190514/d6b361a9/attachment.bin>
More information about the Binutils
mailing list