Skip to content

Commit 214170a

Browse files
committed
[llvm-objcopy] Fix testcase to adapt the support of PN_XNUM in ELF.
1 parent fe99baf commit 214170a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/tools/llvm-objcopy/ELF/many-sections.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ RUN: llvm-readobj --file-headers --sections --symbols %t2 | FileCheck %s
66
RUN: llvm-readelf --symbols %t2 | FileCheck --check-prefix=SYMS %s
77

88
## The ELF header should have e_shnum == 0 and e_shstrndx == SHN_XINDEX.
9-
# CHECK: SectionHeaderCount: 0
10-
# CHECK-NEXT: StringTableSectionIndex: 65535
9+
# CHECK: SectionHeaderCount: 0 (65540)
10+
# CHECK-NEXT: StringTableSectionIndex: 65535 (65539)
1111

1212
## The first section header should store the real section header count and
1313
## shstrndx in its fields.

0 commit comments

Comments
 (0)