Rafael Espindola | afa388d | 2015-08-10 21:00:15 +0000 | [diff] [blame] | 1 | RUN: llvm-objdump -r %p/Inputs/shndx.elf | FileCheck %s |
2 | |||||
3 | Test that llvm-objdump can handle shndx. The relocation points to a section | ||||
4 | symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump | ||||
5 | has to use the shndx section. | ||||
6 | |||||
7 | CHECK: RELOCATION RECORDS FOR [.rela.text]: | ||||
Daniel Cederman | 86986e7 | 2018-06-01 05:31:58 +0000 | [diff] [blame] | 8 | CHECK-NEXT: 0000000000000000 R_X86_64_32 bar |