summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-04-06 03:30:51 +0000
committerRui Ueyama <ruiu@google.com>2017-04-06 03:30:51 +0000
commit5036cc676825ae04a0dae9bc298bc289dc5b425b (patch)
tree141538575efae41ad79ffb2b475b297b373b6c48 /llvm
parentc2a49bf95cd72283e0327fb7354b8665b953e8de (diff)
downloadbcm5719-llvm-5036cc676825ae04a0dae9bc298bc289dc5b425b.tar.gz
bcm5719-llvm-5036cc676825ae04a0dae9bc298bc289dc5b425b.zip
Create GOT and PLT entries early in scanRelocs().
scanRelocs() does a lot of things. It fills InputSection's Relocations vector, making a decision whether a TLS relocation should be relaxed or not, and making a decision whether a GOT/PLT slot needs to be created or not. They don't actually have to be done in a single loop. I want to separate them so that some of them can be run concurently. As a first step, this patch moves PLT/GOT slot assignment to beginning of the loop, so that they just fall through to the next statements. This should make it clear that that code doesn't affect other parts of the loop. llvm-svn: 299615
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud