diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-12-12 14:30:18 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-12-12 14:30:18 +0000 |
commit | b9666655c2d4018a25358ad54dbbb80eda4319fa (patch) | |
tree | 1dfe6453c0943ce5f770991b3882b16e840e08c8 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 053499841a6d9561446de5b52db62a481b73f9a9 (diff) | |
download | llvm-b9666655c2d4018a25358ad54dbbb80eda4319fa.zip llvm-b9666655c2d4018a25358ad54dbbb80eda4319fa.tar.gz llvm-b9666655c2d4018a25358ad54dbbb80eda4319fa.tar.bz2 |
[ELF][MIPS] Fix .MIPS.options ri_gp_value on MIPS64
The VA of _gp was being truncated to 32 bits when calling getVa(), but
for 64bit MIPS we need to write a 64 bit value to .MIPS.options.
Patch by Alexander Richardson.
Differential revision: https://reviews.llvm.org/D27672
llvm-svn: 289432
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions