1 ## Show that llvm-objdump can dump dynamic relocations.
2 ## Specifically, we are checking that the tags DT_RELA, DT_REL and DT_JMPREL
3 ## properly identify relocation tables.
5 # RUN: yaml2obj %s -o %t
6 # RUN: llvm-objdump --dynamic-reloc %t | FileCheck --implicit-check-not=R_X86 %s
8 # CHECK: file format ELF64-x86-64
9 # CHECK: DYNAMIC RELOCATION RECORDS
10 # CHECK-NEXT: 0000000000000000 R_X86_64_RELATIVE *ABS*
11 # CHECK-NEXT: 0000000000000000 R_X86_64_JUMP_SLOT bar
12 # CHECK-NEXT: 0000000000000008 R_X86_64_NONE foo
29 Flags: [SHF_WRITE, SHF_ALLOC]
41 Type: R_X86_64_RELATIVE
53 Type: R_X86_64_JUMP_SLOT