[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #26995] .fuses and .bss overlap on the elf file
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [bug #26995] .fuses and .bss overlap on the elf file |
Date: |
Wed, 09 Jun 2010 09:26:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 |
Update of bug #26995 (project avr-libc):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
Not confirmed:
$ cat bar.c
#include <avr/io.h>
FUSES =
{
.low = LFUSE_DEFAULT,
.high = HFUSE_DEFAULT,
.extended = EFUSE_DEFAULT
};
int foo;
int
main(void)
{
foo = 42;
return 0;
}
$ avr-gcc -Os -Wall -std=c99 -mcall-prologues -mmcu=atmega168 -o bar.elf
bar.c
$ avr-objdump -h bar.elf
bar.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000000a6 00000000 00000000 00000094 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .bss 00000002 00800100 00800100 0000013a 2**0
ALLOC
2 .fuse 00000003 00820000 00820000 0000013a 2**0
CONTENTS, ALLOC, LOAD, DATA
3 .stab 000006b4 00000000 00000000 00000140 2**2
CONTENTS, READONLY, DEBUGGING
4 .stabstr 00000054 00000000 00000000 000007f4 2**0
CONTENTS, READONLY, DEBUGGING
$ avr-objdump -j .fuse -s bar.elf
bar.elf: file format elf32-avr
Contents of section .fuse:
820000 62dff9 b..
Please provide a full example that can reproduce the bug.
Btw., the location of your -lm option on the command-line makes it
have zero effect to the linker.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26995>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #26995] .fuses and .bss overlap on the elf file,
Joerg Wunsch <=