Fix for s390_elf_cons.

Martin Schwidefsky schwidefsky@de.ibm.com
Sun Jul 29 14:58:00 GMT 2001


Hi,
Andreas complained that binutils-2.11.90.0.24 doesn't work on s390/s390x.
Well he is right. The problem is that the behaviour of fixup_segment has
changed a bit.  The solution is to pass false for pcrel on the call to
fix_new_exp in s390_elf_cons. Then the missing pc relative conversion in
fixup_segment are done again.

blue skies,
   Martin

2001-07-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
     relocations.

(See attached file: elf_cons.diff)

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: elf_cons.diff
Type: text/x-diff
Size: 720 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20010729/f2dc38c9/attachment.bin>


More information about the Binutils mailing list