[patch,avr] PR31704: Let avr-objdump show .note.gnu.avr.deviceinfo
Georg-Johann Lay
avr@gjlay.de
Mon May 6 12:24:52 GMT 2024
AVR: binutils/31704 - Let avr-objdump show .note.gnu.avr.deviceinfo
This patch supports
avr-objdump -P avr-deviceinfo
which displays the contents of the .note.gnu.avr.deviceinfo section,
which is added by the startup code from AVR-LibC in crt<mcu>.o.
binutils/
PR binutils/31704
* od-elf32_avr.c (OPT_AVRDEVICEINFO): New macro.
(objdump_private_option options): Set [2] to "avr-deviceinfo".
(elf32_avr_help): Help on new -P avr-deviceinfo.
(elf32_avr_dump) [OPT_AVRDEVICEINFO]: Run...
(elf32_avr_dump_avr_deviceinfo): ...this new static function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr31704-deviceinfo.diff
Type: text/x-patch
Size: 2925 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240506/e146dbfd/attachment.bin>
More information about the Binutils
mailing list