blob: 41b6163275010b92e2a18703910cec8aaf2923ad [file] [log] [blame]
Rafael Espindolaafa388d2015-08-10 21:00:15 +00001RUN: llvm-objdump -r %p/Inputs/shndx.elf | FileCheck %s
2
3Test that llvm-objdump can handle shndx. The relocation points to a section
4symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
5has to use the shndx section.
6
7CHECK: RELOCATION RECORDS FOR [.rela.text]:
Daniel Cederman86986e72018-06-01 05:31:58 +00008CHECK-NEXT: 0000000000000000 R_X86_64_32 bar