[lld] r253433 - Adjust test from fallout due to r253429

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 20:37:23 PST 2015


Author: majnemer
Date: Tue Nov 17 22:37:23 2015
New Revision: 253433

URL: http://llvm.org/viewvc/llvm-project?rev=253433&view=rev
Log:
Adjust test from fallout due to r253429

As a side note, the jump target is much nicer than before.

We went from: <bar+...> to <.plt>

Modified:
    lld/trunk/test/ELF/plt.s

Modified: lld/trunk/test/ELF/plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/plt.s?rev=253433&r1=253432&r2=253433&view=diff
==============================================================================
--- lld/trunk/test/ELF/plt.s (original)
+++ lld/trunk/test/ELF/plt.s Tue Nov 17 22:37:23 2015
@@ -76,13 +76,13 @@
 // DISASM-NEXT:   102c:  0f 1f 40 00        nopl (%rax)
 // DISASM-NEXT:   1030:  ff 25 92 10 00 00  jmpq *4242(%rip)
 // DISASM-NEXT:   1036:  68 00 00 00 00     pushq $0
-// DISASM-NEXT:   103b:  e9 e0 ff ff ff     jmp -32 <bar+1020>
+// DISASM-NEXT:   103b:  e9 e0 ff ff ff     jmp -32 <.plt>
 // DISASM-NEXT:   1040:  ff 25 8a 10 00 00  jmpq *4234(%rip)
 // DISASM-NEXT:   1046:  68 01 00 00 00     pushq $1
-// DISASM-NEXT:   104b:  e9 d0 ff ff ff     jmp -48 <bar+1020>
+// DISASM-NEXT:   104b:  e9 d0 ff ff ff     jmp -48 <.plt>
 // DISASM-NEXT:   1050:  ff 25 82 10 00 00  jmpq *4226(%rip)
 // DISASM-NEXT:   1056:  68 02 00 00 00     pushq $2
-// DISASM-NEXT:   105b:  e9 c0 ff ff ff     jmp -64 <bar+1020>
+// DISASM-NEXT:   105b:  e9 c0 ff ff ff     jmp -64 <.plt>
 
 // 0x11030 - (0x11000 + 1) - 4 = 43
 // 0x11030 - (0x11005 + 1) - 4 = 38
@@ -105,10 +105,10 @@
 // DISASM2-NEXT:  1102c:  0f 1f 40 00         nopl  (%rax)
 // DISASM2-NEXT:  11030:  ff 25 92 10 00 00   jmpq *4242(%rip)
 // DISASM2-NEXT:  11036:  68 00 00 00 00      pushq $0
-// DISASM2-NEXT:  1103b:  e9 e0 ff ff ff      jmp -32 <bar+11020>
+// DISASM2-NEXT:  1103b:  e9 e0 ff ff ff      jmp -32 <.plt>
 // DISASM2-NEXT:  11040:  ff 25 8a 10 00 00   jmpq *4234(%rip)
 // DISASM2-NEXT:  11046:  68 01 00 00 00      pushq $1
-// DISASM2-NEXT:  1104b:  e9 d0 ff ff ff      jmp -48 <bar+11020>
+// DISASM2-NEXT:  1104b:  e9 d0 ff ff ff      jmp -48 <.plt>
 // DISASM2-NEXT-NOT: 110C0
 
 .global _start




More information about the llvm-commits mailing list