This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vxworks dynamic tls relocs


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]