[PATCH] MIPS bfd: Don't place TLS symbols in .scommon
Alan Modra
amodra@bigpond.net.au
Tue Aug 15 03:50:00 GMT 2006
On Mon, Aug 14, 2006 at 01:20:24PM +0100, Thiemo Seufer wrote:
> * elfxx-mips.c (_bfd_mips_elf_symbol_processing,
> _bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
> symbols in .scommon.
Hmm, why didn't the test in elflink.c stop this happening?
if (isym->st_shndx == SHN_COMMON
&& ELF_ST_TYPE (isym->st_info) == STT_TLS
&& !info->relocatable)
{
..
}
else if (bed->elf_add_symbol_hook)
Is this on a relocatable link? If so, should the mips backend really be
fiddling with symbols for a relocatable link?
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list