279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
9 lines
339 B
Plaintext
9 lines
339 B
Plaintext
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+0
|