diff options
author | Harald van Dijk <harald@gigawatt.nl> | 2021-05-17 00:13:00 +0100 |
---|---|---|
committer | Harald van Dijk <harald@gigawatt.nl> | 2021-05-17 00:13:00 +0100 |
commit | d62413452fc632023c531d4336254f7b3a54a600 (patch) | |
tree | dcf57ae199666001abebb4e1f991dd8cafd3514a /clang/lib/Basic/Module.cpp | |
parent | 7f5d8e655965c0347c2a05f65e63dec4490a9fa0 (diff) | |
download | llvm-d62413452fc632023c531d4336254f7b3a54a600.zip llvm-d62413452fc632023c531d4336254f7b3a54a600.tar.gz llvm-d62413452fc632023c531d4336254f7b3a54a600.tar.bz2 |
[lld][X86] Restore gotEntrySize.
D62727 removed GotEntrySize and GotPltEntrySize with a comment that they
are always equal to wordsize(), but that is not entirely true: X32 has a
word size of 4, but needs 8-byte GOT entries. This restores gotEntrySize
for both, adjusted for current naming conventions, but defaults it to
config->wordsize to keep things simple for architectures other than
x86_64.
This partially reverts D62727.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D102509
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions