summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-09-15 18:05:02 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-09-15 18:05:02 +0000
commite05e2f8b3459d580c68451c184497fe31693bd05 (patch)
treec6c3d995efc9180b7c15ba9b9998f88515781524 /llvm/lib/MC/MCStreamer.cpp
parent576628bdd77f5e14fe063d521c67d36eda0bc203 (diff)
downloadbcm5719-llvm-e05e2f8b3459d580c68451c184497fe31693bd05.tar.gz
bcm5719-llvm-e05e2f8b3459d580c68451c184497fe31693bd05.zip
Keep some relocations with undefined weak symbols.
This fixes pr34301. As the bug points out, we want to keep some relocations with undefined weak symbols. This means that we cannot always claim that these symbols are not preemptible as we do now. Unfortunately, we cannot also just always claim that they are preemptible. Doing so would, for example, cause us to try to create a plt entry when we don't even have a dynamic symbol table. What almost works is to say that weak undefined symbols are preemptible if and only if we have a dynamic symbol table. Almost because we don't want to fail the build trying to create a copy relocation to a weak undefined. llvm-svn: 313372
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud