[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-07-11 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

Eric Weddington eric.weddington at atmel dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.07.11 18:53:40
 CC||eric.weddington at atmel
   ||dot com
 Ever Confirmed|0   |1

--- Comment #2 from Eric Weddington eric.weddington at atmel dot com 
2011-07-11 18:53:40 UTC ---
Stefan, does your application link correctly if you remove -ffunction-sections?


[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-07-11 Thread stefan.hladnik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

--- Comment #3 from stefan.hladnik at gmail dot com 2011-07-11 19:02:13 UTC ---
Yes. I guess this feature will become obsolete when -flto gets stable, but I
don't how far that is.


[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-07-11 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

Eric Weddington eric.weddington at atmel dot com changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED
 Ever Confirmed|1   |0

--- Comment #4 from Eric Weddington eric.weddington at atmel dot com 
2011-07-11 20:47:20 UTC ---
(In reply to comment #3)
 Yes. I guess this feature will become obsolete when -flto gets stable, but I
 don't how far that is.

Actually it won't become obsolete. They do different things.


[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-05-16 Thread stefan.hladnik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

--- Comment #1 from stefan.hladnik at gmail dot com 2011-05-16 22:51:14 UTC ---
Created attachment 24259
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24259
Object files before and after linking