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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev