summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello/Hello.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2016-09-29 12:58:48 +0000
committerSimon Atanasyan <simon@atanasyan.com>2016-09-29 12:58:48 +0000
commit353fc1e947016ba74ba36b804d83d1f1218eb924 (patch)
tree64add1b59983e576bf3b2f4c5a7d4a5c4b9526b2 /llvm/lib/Transforms/Hello/Hello.cpp
parentf4a1d8d0e031cd8f50ad727f584ba6ea39170c3d (diff)
downloadbcm5719-llvm-353fc1e947016ba74ba36b804d83d1f1218eb924.tar.gz
bcm5719-llvm-353fc1e947016ba74ba36b804d83d1f1218eb924.zip
[ELF][MIPS] Set GP0 value to zero in case of relocatable object generation
LLD does not update relocations addends when generate a relocatable object. That is why we should not write a non-zero GP0 value into the .reginfo and .MIPS.options sections. And we should not accept input object files with non-zero GP0 value because we cannot handle them properly. llvm-svn: 282716
Diffstat (limited to 'llvm/lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud