diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-05-28 04:49:57 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-05-28 04:49:57 +0000 |
commit | 9a9a3169e35306f396e2d690b157ad03a9521650 (patch) | |
tree | bcfc5320b1c2bd52fe74df0ddc4023cd656be02d /llvm/lib/DebugInfo/PDB/Raw/ModStream.cpp | |
parent | 9be88629d54b7a6c19104dc5d88ce4020035f7a6 (diff) | |
download | bcm5719-llvm-9a9a3169e35306f396e2d690b157ad03a9521650.tar.gz bcm5719-llvm-9a9a3169e35306f396e2d690b157ad03a9521650.zip |
[ELF][MIPS] Always resolve MIPS GP-relative relocations to 'local' definitions
In case of MIPS, GP-relative relocations always resolve to a definition
in a regular input file, ignoring the one-definition rule. Such
relocations are used to setup GP relative offsets in a function's
prologue. So we, for example, should not attempt to create a dynamic
relocation even if the target symbol is preemptible.
Fixes bug 27880.
Differential Revision: http://reviews.llvm.org/D20664
llvm-svn: 271100
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/ModStream.cpp')
0 files changed, 0 insertions, 0 deletions