old-cross-binutils/ld/testsuite/ld-s390
Andreas Krebbel 161db27905 Fix PLT first entry GOT operand calculation.
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.
2016-06-07 16:47:10 +02:00
..
gotreloc-1.s 2013-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2013-07-05 09:51:00 +00:00
gotreloc-1.ver 2013-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2013-07-05 09:51:00 +00:00
gotreloc_31-1.dd S/390: Fix gotreloc_31-1 testcase. 2015-04-27 10:24:24 +02:00
gotreloc_64-1.dd 2013-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2013-07-05 09:51:00 +00:00
pltoffset-1.dd Fix PLT first entry GOT operand calculation. 2016-06-07 16:47:10 +02:00
pltoffset-1.ld Fix PLT first entry GOT operand calculation. 2016-06-07 16:47:10 +02:00
pltoffset-1.s Fix PLT first entry GOT operand calculation. 2016-06-07 16:47:10 +02:00
s390.exp Fix PLT first entry GOT operand calculation. 2016-06-07 16:47:10 +02:00
tlsbin.dd S/390: Add support for IBM z13. 2015-01-16 12:28:58 +01:00
tlsbin.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbin_64.dd
tlsbin_64.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbin_64.s
tlsbin_64.sd
tlsbin_64.td
tlsbinpic.s
tlsbinpic_64.s
tlslib.s
tlslib_64.s
tlspic.dd
tlspic.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlspic.sd
tlspic.td
tlspic1.s
tlspic1_64.s
tlspic2.s
tlspic2_64.s
tlspic_64.dd
tlspic_64.rd Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlspic_64.sd
tlspic_64.td