projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abb1d6
)
[ELF][MIPS] Follow-up to r298272. Fix typo to fix buildbot.
author
Simon Atanasyan
<simon@atanasyan.com>
Mon, 20 Mar 2017 20:49:44 +0000
(20:49 +0000)
committer
Simon Atanasyan
<simon@atanasyan.com>
Mon, 20 Mar 2017 20:49:44 +0000
(20:49 +0000)
llvm-svn: 298304
lld/ELF/SyntheticSections.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/SyntheticSections.cpp
b/lld/ELF/SyntheticSections.cpp
index
224ceed
..
736100f
100644
(file)
--- a/
lld/ELF/SyntheticSections.cpp
+++ b/
lld/ELF/SyntheticSections.cpp
@@
-848,7
+848,7
@@
uint64_t MipsGotSection::getGp() const {
static void writeUint(uint8_t *Buf, uint64_t Val) {
support::endianness E =
Config->IsLE ? support::endianness::little : support::endianness::big;
- if (Config->Wordsize ==
0
)
+ if (Config->Wordsize ==
8
)
write64(Buf, Val, E);
else
write32(Buf, Val, E);