[Bug ld/6019] [avr] avr-ld --relax requires --gc-sections

2008-05-29 Thread jevinsweval at gmail dot com

--- Additional Comments From jevinsweval at gmail dot com  2008-05-29 21:39 
---
Created an attachment (id=2766)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2766&action=view)
reduced test case

test with:
avr-gcc -c -o onewire.o -Os onewire.i
avr-gcc -Wl,--relax -o onewire.elf onewire.o

-Os is necessary and the linker doesn't crash with --gc-sections

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6019

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/6019] [avr] avr-ld --relax requires --gc-sections

2008-05-29 Thread jevinsweval at gmail dot com

--- Additional Comments From jevinsweval at gmail dot com  2008-05-29 21:42 
---
I've attached a reduced test case made with multidelta. It got minimized to 11
meaningful lines. It was run through the preprocessor before minimization so the
actual code is hard to read but I doubt that really matters.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6019

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils