llvm-for-llvmta/test/tools/llvm-objcopy/ELF/auto-remove-shndx.test

6 lines
253 B
Plaintext

# RUN: %python %p/../Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
# RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t %t2
# RUN: llvm-readobj --sections %t2 | FileCheck --check-prefix=SECS %s
# SECS-NOT: Name: .symtab_shndx