tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
RUN: llvm-objdump -r %p/Inputs/shndx.elf | FileCheck %s
 
Test that llvm-objdump can handle shndx. The relocation points to a section
symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
has to use the shndx section.
 
CHECK:      RELOCATION RECORDS FOR [.rela.text]:
CHECK-NEXT: 0000000000000000 R_X86_64_32 bar