vxworks dynamic tls relocs

Nathan Sidwell nathan@codesourcery.com
Wed Dec 19 16:18:00 GMT 2007

Alan Modra wrote:
> On Tue, Nov 13, 2007 at 12:47:33PM +0000, Nathan Sidwell wrote:
>> Nullifying the dynamic reloc seemed the simplest approach to take, rather 
>> than change the size of the dynamic reloc section.
> It is only marginally more difficult to do this without generating
> those NONE relocs.  For example, in elf32-ppc.c allocate_dynrelocs
> around line 4802, add
>     if (htab->is_vxworks && info->shared)

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;

any clues?


Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

More information about the Binutils mailing list