[Patch,AVR]: Fix PR13697: Wrong symbols with --gc-sections

Alan Modra amodra@gmail.com
Tue May 29 07:31:00 GMT 2012


On Tue, May 29, 2012 at 08:29:25AM +0200, Georg-Johann Lay wrote:
>    *(.init0)  /* Start here after reset.  */
>     KEEP (*(.init0))
>     *(.init1)
>     KEEP (*(.init1))
> 
> and many others. So all this in the avr ls script is plain wrong?

No, it's just unnecessary.  Duplicating the input section pattern
won't cause any harm except to slightly slow down the linker.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list