aboutsummaryrefslogtreecommitdiffstats
path: root/test/ELF/string-table.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/string-table.s')
-rw-r--r--test/ELF/string-table.s40
1 files changed, 1 insertions, 39 deletions
diff --git a/test/ELF/string-table.s b/test/ELF/string-table.s
index c783445f8e31..92b8345976d8 100644
--- a/test/ELF/string-table.s
+++ b/test/ELF/string-table.s
@@ -1,6 +1,6 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: ld.lld %t -o %t2
-// RUN: llvm-readobj -sections -section-data %t2 | FileCheck %s
+// RUN: llvm-readobj -sections %t2 | FileCheck %s
// REQUIRES: x86
.global _start
@@ -41,41 +41,3 @@ _start:
// CHECK-NEXT: Address: 0x0
// CHECK-NOT: Name: foobar
-
-// Test that the string "bar" is merged into "foobar".
-
-// CHECK: Section {
-// CHECK: Index:
-// CHECK: Name: .shstrtab
-// CHECK-NEXT: Type: SHT_STRTAB
-// CHECK-NEXT: Flags [
-// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x0
-// CHECK-NEXT: Offset:
-// CHECK-NEXT: Size:
-// CHECK-NEXT: Link: 0
-// CHECK-NEXT: Info: 0
-// CHECK-NEXT: AddressAlignment: 1
-// CHECK-NEXT: EntrySize: 0
-// CHECK-NEXT: SectionData (
-// CHECK-NEXT: 0000: 00626172 002E7465 78740066 6F6F6261 |.bar..text.fooba|
-// CHECK-NEXT: 0010: 72002E63 6F6D6D65 6E74002E 73796D74 |r..comment..symt|
-// CHECK-NEXT: 0020: 6162002E 73687374 72746162 002E7374 |ab..shstrtab..st|
-// CHECK-NEXT: 0030: 72746162 00 |rtab.|
-// CHECK-NEXT: )
-// CHECK-NEXT:}
-// CHECK: Name: .strtab
-// CHECK-NEXT: Type: SHT_STRTAB (0x3)
-// CHECK-NEXT: Flags [ (0x0)
-// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x0
-// CHECK-NEXT: Offset:
-// CHECK-NEXT: Size: 15
-// CHECK-NEXT: Link: 0
-// CHECK-NEXT: Info: 0
-// CHECK-NEXT: AddressAlignment: 1
-// CHECK-NEXT: EntrySize: 0
-// CHECK-NEXT: SectionData (
-// CHECK-NEXT: 0000: 00666F6F 62617200 5F737461 727400 |.foobar._start.|
-// CHECK-NEXT: )
-// CHECK-NEXT: }