diff options
author | Zaara Syeda <syzaara@ca.ibm.com> | 2018-03-26 17:50:52 +0000 |
---|---|---|
committer | Zaara Syeda <syzaara@ca.ibm.com> | 2018-03-26 17:50:52 +0000 |
commit | c65ae14766f0802fd33d4fa9c1b2a41a2ad1c412 (patch) | |
tree | af3eaee5e53a9141b3924517299596cf59c26920 /llvm/lib | |
parent | be0afb087055d5c23f0406e7219e3d7ded108d36 (diff) | |
download | bcm5719-llvm-c65ae14766f0802fd33d4fa9c1b2a41a2ad1c412.tar.gz bcm5719-llvm-c65ae14766f0802fd33d4fa9c1b2a41a2ad1c412.zip |
[ELF] GotSection increment NumEntries when Target saves GlobalOffsetTable in the .got
When the target saves ElfSym::GlobalOffsetTable in the .got rather than
.got.plt, Target->GotHeaderEntriesNum states the number of extra entries
required in the .got. Rather than having to add Target->GotHeaderEntriesNum to
NumEntries in every function which refers to NumEntries, this patch changes the
initial value of NumEntries in the constructor.
Differential Revision: https://reviews.llvm.org/D44744
llvm-svn: 328559
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions