aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-09-20 18:30:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-09-20 18:30:57 +0000
commit9be24cf516c79322e53d2d7b3a391117c4460883 (patch)
treef1bf36758ce7bdd7597d8884265f6d2ff67ab294 /llvm/lib/Object/WasmObjectFile.cpp
parent1b30d63aeb3a7dec4084cc6d0a2de91a4be7f805 (diff)
downloadllvm-9be24cf516c79322e53d2d7b3a391117c4460883.zip
llvm-9be24cf516c79322e53d2d7b3a391117c4460883.tar.gz
llvm-9be24cf516c79322e53d2d7b3a391117c4460883.tar.bz2
Fix assigning to _gp in linker scripts.
The previous logic was to try to detect if a linker script defined _gp by checking !ElfSym::MipsGp->Value. That doesn't work in all cases as the assigned value can be 0. We now just always defined it Writer.cpp and always overwrite it afterwards if needed. llvm-svn: 313788
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions