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
..
2017-08-15 20:29:24 +00:00
2017-10-11 16:56:33 +00:00
2015-08-06 20:05:27 +00:00
2017-06-05 21:45:25 +00:00
2017-06-05 21:45:25 +00:00
2016-02-16 15:16:00 +00:00