Fix arm-pe reloc generations for redefined symbols
Nick Clifton
nickc@redhat.com
Tue May 9 14:20:00 GMT 2006
Hi Guys,
Whilst checking my arm-wince-pe toolchain in order to review the
recent patch submissions I found that the redef2.s test was causing
the assembler to abort(). Upon investigation I found that the
problem was that a reloc was being generated against a symbol which
had been cloned, and only the clone was placed into the symbol
table, not the original.
I am going to apply the attached patch to fix this problem. The
patch tells the assembler to adjust an fixups against symbols which
are not on the symbol chain (and which will not therefore be put
into the symbol table).
Cheers
Nick
gas/ChangeLog
2006-05-09 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups
against symbols which are not going to be placed into the symbol
table.
bfd/ChangeLog
2006-05-09 Nick Clifton <nickc@redhat.com>
* coffcode.h (coff_write_relocs): Produce an error message if a an
out-of-range symbol index is detected in a reloc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tc-arm.c.patch
Type: text/x-patch
Size: 2159 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060509/54e95a35/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coffcode.h.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060509/54e95a35/attachment-0001.bin>
More information about the Binutils
mailing list