binutils-gdb/ld/testsuite/ld-s390/gotreloc_31-1.dd
Andreas Krebbel a63cc5f70c 2013-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
bfd/
	* elf32-s390.c: Rewrite GOT accesses using larl if possible.
	* elf64-s390.c: Likewise.

ld/testsuite/
	* ld-s390/gotreloc-1.s: New file.
	* ld-s390/gotreloc-1.ver: New file.
	* ld-s390/gotreloc_31-1.dd: New file.
	* ld-s390/gotreloc_64-1.dd: New file.
	* ld-s390/s390.exp: Run the new tests. Run 31 bit tests also on 64
	bit.
2013-07-05 09:51:00 +00:00

15 lines
392 B
Plaintext

tmpdir/gotreloc_31-1: file format elf32-s390
Disassembly of section .text:
.* <foo>:
.*: c4 18 00 00 .long 0xc4180000
.*: 08 4e e3 10 .long 0x084ee310
.*: c0 0c 00 04 .long 0xc00c0004
.*: c0 10 00 00 00 08 [ ]*larl %r1,168 <bar>
.*: 58 10 c0 0c [ ]*l %r1,12\(%r12\)
.*: c0 10 00 00 00 03 [ ]*larl %r1,168 <bar>
.* <bar>:
.*: 00 00 01 23 .long 0x00000123