[lld] r365686 - Revert "[ELF] Update test case due to llvm r365618"
Nikola Prica via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 11:58:29 PDT 2019
Author: nikolaprica
Date: Wed Jul 10 11:58:29 2019
New Revision: 365686
URL: http://llvm.org/viewvc/llvm-project?rev=365686&view=rev
Log:
Revert "[ELF] Update test case due to llvm r365618"
Reverting du to reverting r365618
This reverts commit b1e76d1d41c2303f70b53e352bdefbff2a2a9d37.
Modified:
lld/trunk/test/ELF/mips-got-string.s
Modified: lld/trunk/test/ELF/mips-got-string.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got-string.s?rev=365686&r1=365685&r2=365686&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got-string.s (original)
+++ lld/trunk/test/ELF/mips-got-string.s Wed Jul 10 11:58:29 2019
@@ -3,14 +3,20 @@
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
-# RUN: llvm-objdump -dD %t.so | FileCheck %s
+# RUN: llvm-readobj --symbols --mips-plt-got %t.so | FileCheck %s
-# CHECK: 000001f1 .rodata:
-# 'f''o''o''\0'
-# CHECK-NEXT: 1f1: 66 6f 6f 00
-# CHECK: lw $25, -32744($gp)
-# 0x1f1
-# CHECK-NEXT: addiu $4, $25, 497
+# CHECK: Symbol {
+# CHECK: Name: $.str
+# CHECK-NEXT: Value: 0x1F1
+# CHECK: }
+
+# CHECK: Local entries [
+# CHECK-NEXT: Entry {
+# CHECK-NEXT: Address:
+# CHECK-NEXT: Access: -32744
+# CHECK-NEXT: Initial: 0x0
+# CHECK: }
+# CHECK: ]
.text
lw $t9, %got($.str)($gp)
More information about the llvm-commits
mailing list