s390 gas bug
Martin Schwidefsky
schwidefsky@de.ibm.com
Thu Oct 4 04:35:00 GMT 2001
>Well, no, not for this particular case. You need to define
>TC_FORCE_RELOCATION to cover this situation because to the generic
>code in write.c:fixup_segment, your "f1@PLT-.LT1_0" expression
>looks like the subtraction of two syms in one segment. The normal
>action is to perform the subtraction and not emit a reloc.
Ok, here is a patch that force all GOT and PLT relocations:
ChangeLog for gas:
2001-10-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
* gas/config/tc-s390.h (TC_FORCE_RELOCATION): Relace by a call to
tc_s390_force_relocation.
* gas/config/tc-s390.c (s390_force_relocation): Add function
tc_s390_force_relocation that forces all GOT and PLT relocations.
(See attached file: force-reloc.diff)
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force-reloc.diff
Type: text/x-diff
Size: 1876 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011004/910e5dfc/attachment.bin>
More information about the Binutils
mailing list