This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: vxworks dynamic tls relocs
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 22 Dec 2007 19:46:46 +1030
- Subject: Re: vxworks dynamic tls relocs
- References: <47399CE5.4070902@codesourcery.com> <20071113233857.GB14068@bubble.grove.modra.org> <4769442B.8070200@codesourcery.com>
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