vxworks dynamic tls relocs

Alan Modra amodra@bigpond.net.au
Sat Dec 22 09:17:00 GMT 2007

On Wed, Dec 19, 2007 at 04:17:47PM +0000, Nathan Sidwell wrote:
> sorry for the late followup. I tried your suggestion and it doesn't appear 
> to work.  the problem is that location in allocate_dynrelocs is never 
> reached.  We exit earlier:
>   if (eh->dyn_relocs == NULL)
>     return TRUE;

Hmm.  I missed another place that needs to handle .tls_vars specially.
I'm guessing that all your .tls_vars dynamic relocs are on local syms,
and counted via local_dynrel.  You'll need to throw away some relocs
around line 4938 of elf32-ppc.c

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list