1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-readobj -r %t | FileCheck %s
5 # CHECK: Section (2) .rela.text {
6 # CHECK: 0x0 R_AMDGPU_NONE - 0x0
7 # CHECK: 0x2 R_AMDGPU_ABS32_LO - 0x0
8 # CHECK: 0x4 R_AMDGPU_ABS32_HI - 0x0
9 # CHECK: 0x6 R_AMDGPU_ABS64 - 0x0
10 # CHECK: 0x8 R_AMDGPU_REL32 - 0x0
11 # CHECK: 0x10 R_AMDGPU_REL64 - 0x0
12 # CHECK: 0x12 R_AMDGPU_ABS32 - 0x0
13 # CHECK: 0x14 R_AMDGPU_GOTPCREL - 0x0
14 # CHECK: 0x16 R_AMDGPU_GOTPCREL32_LO - 0x0
15 # CHECK: 0x18 R_AMDGPU_GOTPCREL32_HI - 0x0
16 # CHECK: 0x20 R_AMDGPU_REL32_LO - 0x0
17 # CHECK: 0x22 R_AMDGPU_REL32_HI - 0x0
18 # CHECK: 0x24 R_AMDGPU_RELATIVE64 - 0x0
31 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
33 Content: 0000000000000000
43 Type: R_AMDGPU_ABS32_LO
45 Type: R_AMDGPU_ABS32_HI
55 Type: R_AMDGPU_GOTPCREL
57 Type: R_AMDGPU_GOTPCREL32_LO
59 Type: R_AMDGPU_GOTPCREL32_HI
61 Type: R_AMDGPU_REL32_LO
63 Type: R_AMDGPU_REL32_HI
65 Type: R_AMDGPU_RELATIVE64