161db27905
Embedding the .plt section in another revealed a bug in the way the larl operand of the first magic plt entry is being calculated. Fixed with the attached patch. bfd/ChangeLog: * elf64-s390.c (elf_s390_finish_dynamic_sections): Subtract plt section offset when calculation the larl operand in the first PLT entry. ld/ChangeLog: * testsuite/ld-s390/pltoffset-1.dd: New test. * testsuite/ld-s390/pltoffset-1.ld: New test. * testsuite/ld-s390/pltoffset-1.s: New test. * testsuite/ld-s390/s390.exp: Run new test. |
||
---|---|---|
.. | ||
gotreloc-1.s | ||
gotreloc-1.ver | ||
gotreloc_31-1.dd | ||
gotreloc_64-1.dd | ||
pltoffset-1.dd | ||
pltoffset-1.ld | ||
pltoffset-1.s | ||
s390.exp | ||
tlsbin.dd | ||
tlsbin.rd | ||
tlsbin.s | ||
tlsbin.sd | ||
tlsbin.td | ||
tlsbin_64.dd | ||
tlsbin_64.rd | ||
tlsbin_64.s | ||
tlsbin_64.sd | ||
tlsbin_64.td | ||
tlsbinpic.s | ||
tlsbinpic_64.s | ||
tlslib.s | ||
tlslib_64.s | ||
tlspic.dd | ||
tlspic.rd | ||
tlspic.sd | ||
tlspic.td | ||
tlspic1.s | ||
tlspic1_64.s | ||
tlspic2.s | ||
tlspic2_64.s | ||
tlspic_64.dd | ||
tlspic_64.rd | ||
tlspic_64.sd | ||
tlspic_64.td |