Fwd: Symbols in .comm doesn't move to .sbss?

Alan Modra amodra@bigpond.net.au
Sat May 20 14:00:00 GMT 2006


On Sat, May 20, 2006 at 09:11:35PM +0900, Masaki Muranaka wrote:
> The symbol in .lcomm will be collected because bss_alloc
> is called by s_lcomm. But there is no path for .comm.
> So the symbols in .comm will be never moved to .sbss.

The linker can do this.  See add_symbol_hook in bfd/ source files.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list