This is the mail archive of the
mailing list for the binutils project.
Re: [Patch,AVR]: Fix PR13697: Wrong symbols with --gc-sections
On May 30, 2012, at 12:21 PM, Georg-Johann Lay wrote:
> Tristan Gingold wrote:
>> Why not adding a KEEP attribute on sections, ie like:
>> .data : KEEP ...
> Isn't this the same like the proposed KEEP(*(.data)) from above?
> If not: what is the difference?
> And what is the right syntax?
> This always exits with a syntax error and dosc don't mention KEEP at all:
No, this was a proposal. The KEEP attribute (on output sections) will keep the output section and its symbols even if it is empty.