Strange KEEP behavior in linker script
Daniel Jacobowitz
drow@false.org
Tue May 6 13:40:00 GMT 2008
On Tue, May 06, 2008 at 03:29:27PM +0200, Denis FERRANTI wrote:
> Shouldn't the KEEP() statement force the generation of the output section
> in the ELF file, even if there are no input sections.
No, why should it? It is supposed to keep the input sections, not the
output section. I'm not sure why ld started discarding the empty
output section.
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list