summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-10-06 10:06:13 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-10-06 10:06:13 +0000
commit8f3a6c8143a5b77c714f211d1e6212a82a207906 (patch)
tree38414524ecaadea4cf078af07a357b5ce05a58e0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2727ce2c1fbec939e1bc7e9f72367b52cf3e0301 (diff)
downloadbcm5719-llvm-8f3a6c8143a5b77c714f211d1e6212a82a207906.tar.gz
bcm5719-llvm-8f3a6c8143a5b77c714f211d1e6212a82a207906.zip
[ELF] - Do not produce broken .dynamic section with --no-rosegment
LLD produces broken .dynamic section when --no-rosegment and at least one of following options is present: 1) -z rodynamic is given. 2) MIPS target. That happens because code that writes .dynamic assumes target buffer is zero-filled, what can be not true after LLD fills it with trap instructions. With one of two options above, .dynamic becomes SHF_ALLOC section, so can be affected. Differential revision: https://reviews.llvm.org/D38580 llvm-svn: 315054
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud