Fix -q for x86 ELF after TLS descriptor changes

Daniel Jacobowitz drow@false.org
Tue Feb 28 03:03:00 GMT 2006


On Tue, Feb 28, 2006 at 09:39:25AM +1030, Alan Modra wrote:
> I suspect that --emit-relocs is still not correct on x86.  TLS code
> sequences and relocs are edited in relocate_section, but I don't see the
> new reloc being written back to the reloc array.  That means -q will
> output the original reloc, so eg. you might get a GD reloc for what has
> become an IE code sequence.  Whether this matters for VxWorks I can't
> say, but I needed to fix the same problem on powerpc for our FDPR-Pro
> people.

FWIW, it doesn't matter - I suspect more than this would need fixing
before ELF TLS would work on VxWorks.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list