mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
a63cc5f70c
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.
13 lines
382 B
Plaintext
13 lines
382 B
Plaintext
tmpdir/gotreloc_64-1: file format elf64-s390
|
|
|
|
Disassembly of section .text:
|
|
|
|
.* <foo>:
|
|
.*: c0 10 00 00 00 0e [ ]*larl %r1,.* <bar>
|
|
.*: c0 10 00 00 00 0b [ ]*larl %r1,.* <bar>
|
|
.*: c4 1d 00 00 08 86 [ ]*lrl %r1,.* <_GLOBAL_OFFSET_TABLE_\+0x18>
|
|
.*: 58 10 c0 18 [ ]*l %r1,24\(%r12\)
|
|
.*: e3 10 c0 18 00 58 [ ]*ly %r1,24\(%r12\)
|
|
.* <bar>:
|
|
.*: 00 00 01 23 .long 0x00000123
|