bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31687] [avr] Output of avr-objdump -P mem-usage missing .r


From: gjl at gcc dot gnu.org
Subject: [Bug binutils/31687] [avr] Output of avr-objdump -P mem-usage missing .rodata
Date: Mon, 06 May 2024 08:35:29 +0000

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

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

Test case for ATtiny40

$ avr-objdump -h attiny40.elf 

attiny40.elf:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000040  00000000  00000000  00000094  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .rodata       0000000a  00004040  00000040  000000d4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         00000000  00800040  0000004a  000000de  2**0
                  CONTENTS, ALLOC, LOAD, DATA

$ avr-objdump -P mem-usage attiny40.elf 

attiny40.elf:     file format elf32-avr
AVR Memory Usage
----------------
Device: attiny40

Program:      64 bytes (1.6% Full)
(.text + .data + .bootloader)

Data:          0 bytes (0.0% Full)
(.data + .bss + .noinit)

-- 
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]