summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2016-12-13 10:42:05 +0000
committerPeter Smith <peter.smith@linaro.org>2016-12-13 10:42:05 +0000
commitd92099991b58c32aac940b85f5725cdd8c848ca8 (patch)
tree3f0cf152b307d9f9a01eb7be5e001d4ba6feb530 /llvm/docs/tutorial
parent08c2563cb1a2941fb94723a33f017db4372dc36d (diff)
downloadbcm5719-llvm-d92099991b58c32aac940b85f5725cdd8c848ca8.tar.gz
bcm5719-llvm-d92099991b58c32aac940b85f5725cdd8c848ca8.zip
[ELF] Add R_ARM_RELATIVE to relocations that can be applied to GotSection
When compiling -fpie and linking with the --pie option the R_ARM_GOTBREL relocation to D is resolved by writing the value of D into the .got slot and emitting an R_ARM_RELATIVE relocation for it. This changes adds the R_ARM_RELATIVE relocation to the switch in relocateOne() so we can process the GotSection relocation to write the value of the variable as well as emitting the dynamic relocation. Differential revision: https://reviews.llvm.org/D27678 llvm-svn: 289527
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud