aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s390/gotreloc_31-1.dd
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2013-07-05 09:51:00 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2013-07-05 09:51:00 +0000
commita63cc5f70ca64f41f5144ac330bc7978e584eed3 (patch)
tree86e015ed6ddf87602fd28daf5574a4582899dc64 /ld/testsuite/ld-s390/gotreloc_31-1.dd
parentfb798c50b2c896195fb94af229dfbcc52babdfea (diff)
downloadgdb-a63cc5f70ca64f41f5144ac330bc7978e584eed3.zip
gdb-a63cc5f70ca64f41f5144ac330bc7978e584eed3.tar.gz
gdb-a63cc5f70ca64f41f5144ac330bc7978e584eed3.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-s390/gotreloc_31-1.dd')
-rw-r--r--ld/testsuite/ld-s390/gotreloc_31-1.dd14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-s390/gotreloc_31-1.dd b/ld/testsuite/ld-s390/gotreloc_31-1.dd
new file mode 100644
index 0000000..4df4aa5
--- /dev/null
+++ b/ld/testsuite/ld-s390/gotreloc_31-1.dd
@@ -0,0 +1,14 @@
+
+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