bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31704] [avr] Support avr-objdump -P avr-deviceinfo


From: gjl at gcc dot gnu.org
Subject: [Bug binutils/31704] [avr] Support avr-objdump -P avr-deviceinfo
Date: Fri, 17 May 2024 09:45:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31704

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Created attachment 15527
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15527&action=edit
Proposed patch

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]