diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-02-04 23:39:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-02-04 23:39:33 +0000 |
| commit | 8e47eba9fdb51d50ae1aef923d025a95e86b2714 (patch) | |
| tree | 4985edab39feae2b25e9bad4e9ac60a70b5ace99 /lld | |
| parent | d68aae24e4e3577e895f2c4b10a211ffa93246f0 (diff) | |
| download | bcm5719-llvm-8e47eba9fdb51d50ae1aef923d025a95e86b2714.tar.gz bcm5719-llvm-8e47eba9fdb51d50ae1aef923d025a95e86b2714.zip | |
Do not round uintX_t to uint32_t.
On 64-bit computers, this value can be larger than UINT32_MAX.
llvm-svn: 259847
Diffstat (limited to 'lld')
| -rw-r--r-- | lld/ELF/OutputSections.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 614edf533a1..debb07cd529 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -130,7 +130,7 @@ public: // the number of reserved entries. This method is MIPS-specific. unsigned getMipsLocalEntriesNum() const; - uint32_t getLocalTlsIndexVA() { return Base::getVA() + LocalTlsIndexOff; } + uintX_t getLocalTlsIndexVA() { return Base::getVA() + LocalTlsIndexOff; } private: std::vector<const SymbolBody *> Entries; |

