[lld] r273418 - Update testcases after r273417, which changed llvm-readobj output slightly.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 06:45:09 PDT 2016
Author: grimar
Date: Wed Jun 22 08:45:08 2016
New Revision: 273418
URL: http://llvm.org/viewvc/llvm-project?rev=273418&view=rev
Log:
Update testcases after r273417, which changed llvm-readobj output slightly.
Modified:
lld/trunk/test/ELF/verdef.s
lld/trunk/test/ELF/verneed.s
Modified: lld/trunk/test/ELF/verdef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/verdef.s?rev=273418&r1=273417&r2=273418&view=diff
==============================================================================
--- lld/trunk/test/ELF/verdef.s (original)
+++ lld/trunk/test/ELF/verdef.s Wed Jun 22 08:45:08 2016
@@ -36,49 +36,35 @@
# DSO-NEXT: }
# DSO-NEXT: ]
# DSO-NEXT: }
-# DSO-NEXT: Version definition {
-# DSO-NEXT: Section Name: .gnu.version_d
-# DSO-NEXT: Address: 0x230
-# DSO-NEXT: Offset: 0x230
-# DSO-NEXT: Link: 5
-# DSO-NEXT: Entries [
-# DSO-NEXT: Entry {
-# DSO-NEXT: Offset: 0x0
-# DSO-NEXT: Rev: 1
-# DSO-NEXT: Flags: 1
-# DSO-NEXT: Index: 1
-# DSO-NEXT: Cnt: 1
-# DSO-NEXT: Hash: 127830196
-# DSO-NEXT: Name:
-# DSO-NEXT: }
-# DSO-NEXT: Entry {
-# DSO-NEXT: Offset: 0x14
-# DSO-NEXT: Rev: 1
-# DSO-NEXT: Flags: 0
-# DSO-NEXT: Index: 2
-# DSO-NEXT: Cnt: 1
-# DSO-NEXT: Hash: 98457184
-# DSO-NEXT: Name: LIBSAMPLE_1.0
-# DSO-NEXT: }
-# DSO-NEXT: Entry {
-# DSO-NEXT: Offset: 0x28
-# DSO-NEXT: Rev: 1
-# DSO-NEXT: Flags: 0
-# DSO-NEXT: Index: 3
-# DSO-NEXT: Cnt: 1
-# DSO-NEXT: Hash: 98456416
-# DSO-NEXT: Name: LIBSAMPLE_2.0
-# DSO-NEXT: }
-# DSO-NEXT: Entry {
-# DSO-NEXT: Offset: 0x3C
-# DSO-NEXT: Rev: 1
-# DSO-NEXT: Flags: 0
-# DSO-NEXT: Index: 4
-# DSO-NEXT: Cnt: 1
-# DSO-NEXT: Hash: 98456672
-# DSO-NEXT: Name: LIBSAMPLE_3.0
-# DSO-NEXT: }
-# DSO-NEXT: ]
+# DSO-NEXT: SHT_GNU_verdef {
+# DSO-NEXT: Definition {
+# DSO-NEXT: Version: 1
+# DSO-NEXT: Flags: Base
+# DSO-NEXT: Index: 1
+# DSO-NEXT: Hash: 127830196
+# DSO-NEXT: Name: shared
+# DSO-NEXT: }
+# DSO-NEXT: Definition {
+# DSO-NEXT: Version: 1
+# DSO-NEXT: Flags: 0x0
+# DSO-NEXT: Index: 2
+# DSO-NEXT: Hash: 98457184
+# DSO-NEXT: Name: LIBSAMPLE_1.0
+# DSO-NEXT: }
+# DSO-NEXT: Definition {
+# DSO-NEXT: Version: 1
+# DSO-NEXT: Flags: 0x0
+# DSO-NEXT: Index: 3
+# DSO-NEXT: Hash: 98456416
+# DSO-NEXT: Name: LIBSAMPLE_2.0
+# DSO-NEXT: }
+# DSO-NEXT: Definition {
+# DSO-NEXT: Version: 1
+# DSO-NEXT: Flags: 0x0
+# DSO-NEXT: Index: 4
+# DSO-NEXT: Hash: 98456672
+# DSO-NEXT: Name: LIBSAMPLE_3.0
+# DSO-NEXT: }
# DSO-NEXT: }
# DSO-NEXT: SHT_GNU_verneed {
# DSO-NEXT: }
@@ -112,7 +98,7 @@
# MAIN-NEXT: }
# MAIN-NEXT: ]
# MAIN-NEXT: }
-# MAIN-NEXT: Version definition {
+# MAIN-NEXT: SHT_GNU_verdef {
# MAIN-NEXT: }
.globl a
Modified: lld/trunk/test/ELF/verneed.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/verneed.s?rev=273418&r1=273417&r2=273418&view=diff
==============================================================================
--- lld/trunk/test/ELF/verneed.s (original)
+++ lld/trunk/test/ELF/verneed.s Wed Jun 22 08:45:08 2016
@@ -133,7 +133,7 @@
# CHECK-NEXT: }
# CHECK-NEXT: ]
# CHECK-NEXT: }
-# CHECK-NEXT: Version definition {
+# CHECK-NEXT: SHT_GNU_verdef {
# CHECK-NEXT: }
# CHECK-NEXT: SHT_GNU_verneed {
# CHECK-NEXT: Dependency {
More information about the llvm-commits
mailing list