]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
S/390: Fix gotreloc_31-1 testcase.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 27 Apr 2015 08:24:24 +0000 (10:24 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 27 Apr 2015 08:24:24 +0000 (10:24 +0200)
Since we changed the default arch for objdump to zarch the following
testcase needs to check for the real instruction mnemonics instead of
just bytes.

This fixes the following testsuite fail on s390x:

FAIL: GOT: symbol address load from got to larl

ld/testsuite/ChangeLog
ld/testsuite/ld-s390/gotreloc_31-1.dd

index db467a9d89c08b10def98afa812221da8c72a667..a6704f819653e0f8ba4e0c54131aae4afcb6f68f 100644 (file)
@@ -1,3 +1,7 @@
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * ld-s390/gotreloc_31-1.dd: Use instruction mnemonics.
+
 2015-04-24  Alan Modra  <amodra@gmail.com>
 
        * ld-powerpc/tocnovar.d: Revert last change.
index 4df4aa55b28bb183f2577609593ad7661703b65e..0eaaa39c69e0e3cb4b3db2a767a591d757ab584c 100644 (file)
@@ -4,9 +4,8 @@ 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
+.*:    c4 18 00 00 08 4e [      ]*lgrl %r1,11e8 <_GLOBAL_OFFSET_TABLE_\+0xc>
+.*:    e3 10 c0 0c 00 04 [      ]*lg   %r1,12\(%r12\)
 .*:    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>