[PATCH] Sparc32 ELF TLS fixes

Alan Modra amodra@bigpond.net.au
Mon Apr 11 01:49:00 GMT 2005


On Sun, Apr 10, 2005 at 06:15:48PM -0700, David S. Miller wrote:
> And sr2.test has the symbol at 0x1120c.  So when generating the srec output
> format, the symbol ends up at 0x11210 instead of 0x1120c.
> 
> I guess I should internally dump the sections, in particular the BSS, while
> these two cases are running to figure out why they are being composed
> differently?

It might simply be that the two bss sections start at different
addresses.  Perhaps they have different alignments for some reason.
Perhaps a different start address is caused by pruning of unused
sections in the ELF linker but not the SREC one.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list