llvm/test/Object/AMDGPU
Tony Tye 300ec0aaa2 Add base relative relocation record that can be used for the following case (OpenCL example):
static __global int Var = 0; 
__global int* Ptr[] = {&Var};
...

In this case Var is a non premptable symbol and so its address can be used as the value of Ptr, with a base relative relocation that will add the delta between the ELF address and the actual load address. Such relocations do not require a symbol.

Differential Revision: https://reviews.llvm.org/D38909


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315935 91177308-0d34-0410-b5e6-96231b3b80d8
2017-10-16 20:44:29 +00:00
..
elf32-r600-definitions.yaml AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
elf32-unknown.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
elf64-amdgcn-amdhsa-definitions.yaml AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
elf64-amdgcn-amdpal-definitions.yaml AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
elf64-amdgcn-mesa3d-definitions.yaml AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
elf64-relocs.yaml Add base relative relocation record that can be used for the following case (OpenCL example): 2017-10-16 20:44:29 +00:00
elf64-unknown.yaml [yaml2obj] Missed updating a few test cases in r273915 2016-06-27 20:02:49 +00:00
lit.local.cfg [AMDGPU] llvm-objdump: Minimal HSA Code Object disassembler support. 2016-04-07 07:24:01 +00:00
objdump.s AMDGPU: Add ELFOSABI_AMDGPU_PAL 2017-10-03 20:54:07 +00:00