Update more tests for objdump change
authorAlan Modra <amodra@gmail.com>
Tue, 11 Oct 2016 23:01:24 +0000 (09:31 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Oct 2016 23:06:05 +0000 (09:36 +1030)
* testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
* testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
* testsuite/ld-tic6x/shlib-1r.dd: Likewise.
* testsuite/ld-x86-64/plt-nacl.pd: Likewise.
* testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.

ld/ChangeLog
ld/testsuite/ld-i386/pr19636-1d-nacl.d
ld/testsuite/ld-i386/pr19636-2c-nacl.d
ld/testsuite/ld-tic6x/shlib-1r.dd
ld/testsuite/ld-x86-64/plt-nacl.pd
ld/testsuite/ld-x86-64/pr19636-2d-nacl.d

index 3b26142b3e3da1fc1c5353ecabb00bf9a484c959..213cc37da4d13aa080f964e50adc51625e65b200 100644 (file)
@@ -1,3 +1,11 @@
+2016-10-12  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
+       * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
+       * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
+       * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
+       * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
+
 2016-10-11  Nick Clifton  <nickc@redhat.com>
 
        * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
index 489eab68d3764697969ef02d122013d7b9d089d5..27797d6b4434da6d11906fe13f3644e6659b1f0e 100644 (file)
@@ -92,7 +92,7 @@ Disassembly of section .plt:
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    68 00 00 00 00          push   \$0x0
-[      ]*[a-f0-9]+:    e9 00 00 00 00          jmp    6a <_start-0x16>
+[      ]*[a-f0-9]+:    e9 00 00 00 00          jmp    6a <\.plt\+0x6a>
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
index 7a6cce14cffa67cf759eca177135446ead53e5f4..de52ec5387adb6a3dd2a06f59da43d5b7e8060c6 100644 (file)
@@ -92,7 +92,7 @@ Disassembly of section .plt:
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    68 00 00 00 00          push   \$0x0
-[      ]*[a-f0-9]+:    e9 00 00 00 00          jmp    6a <_start-0x16>
+[      ]*[a-f0-9]+:    e9 00 00 00 00          jmp    6a <\.plt\+0x6a>
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
 [      ]*[a-f0-9]+:    90                      nop
index e20eb74dd47a4e69b30d151ccea42502c14931b9..b9934b5d27bbfceab2f1f746c5c18708ce62a7ed 100644 (file)
@@ -4,7 +4,7 @@ tmpdir/libtestr\.so:     file format elf32-tic6x-le
 
 Disassembly of section \.plt:
 
-10000020 <sub0@plt-0x18>:
+10000020 <\.plt>:
 10000020:[ \t]*0100036e[ \t]*ldw \.D2T2 \*\+b14\(12\),b2
 10000024:[ \t]*0080046e[ \t]*ldw \.D2T2 \*\+b14\(16\),b1
 10000028:[ \t]*00004000[ \t]*nop 3
index e0ff471189f24924a57d3727e561ef1469bea5bc..9f572fdd1985594f969581a887b7948ca85f8c55 100644 (file)
@@ -25,7 +25,7 @@ Disassembly of section .plt:
  +[0-9a-f]+:   66 90                   xchg   %ax,%ax
 
 [0-9a-f]+ <fn1@plt>:
- +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x18>
+ +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <fn1>
  +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
  +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
  +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
@@ -40,7 +40,7 @@ Disassembly of section .plt:
  +[0-9a-f]+:   0f 1f 80 00 00 00 00    nopl   0x0\(%rax\)
 
 [0-9a-f]+ <fn2@plt>:
- +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x20>
+ +[0-9a-f]+:   4c 8b 1d ([0-9a-f]{2} ){4} *    mov    0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <fn2>
  +[0-9a-f]+:   41 83 e3 e0             and    \$0xffffffe0,%r11d
  +[0-9a-f]+:   4d 01 fb                add    %r15,%r11
  +[0-9a-f]+:   41 ff e3                jmpq   \*%r11
index 67851a642701af184de2a6ab37555355057fd7bf..1bdbd8c8de013735b452a6fd4589a5bcf05e609a 100644 (file)
@@ -25,13 +25,13 @@ Disassembly of section .plt:
 [      ]*[a-f0-9]+:    41 ff e3                jmpq   \*%r11
 [      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
 [      ]*[a-f0-9]+:    68 00 00 00 00          pushq  \$0x0
-[      ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   6a <_start-0x16>
+[      ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   6a <\.plt\+0x6a>
 [      ]*[a-f0-9]+:    66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\)
 [      ]*[a-f0-9]+:    0f 1f 80 00 00 00 00    nopl   0x0\(%rax\)
 
 Disassembly of section .text:
 
 0+80 <_start>:
-[      ]*[a-f0-9]+:    48 3b 05 a9 01 01 10    cmp    0x100101a9\(%rip\),%rax        # 10010230 <_DYNAMIC\+0xe0>
-[      ]*[a-f0-9]+:    ff 25 ab 01 01 10       jmpq   \*0x100101ab\(%rip\)        # 10010238 <_DYNAMIC\+0xe8>
-[      ]*[a-f0-9]+:    e8 ae ff ff ff          callq  40 <_start-0x40>
+[      ]*[a-f0-9]+:    48 3b 05 a9 01 01 10    cmp    0x100101a9\(%rip\),%rax        # 10010230 <\.got>
+[      ]*[a-f0-9]+:    ff 25 ab 01 01 10       jmpq   \*0x100101ab\(%rip\)        # 10010238 <\.got\+0x8>
+[      ]*[a-f0-9]+:    e8 ae ff ff ff          callq  40 <\.plt\+0x40>