forked from OSchip/llvm-project
[mips][lld] Address post commit review nit.
Address @ruiu's post commit review comment about a value which is intended to be a unsigned 32 bit integer as using uint32_t rather than unsigned. llvm-svn: 325713
This commit is contained in:
parent
92f3578c03
commit
f5e0b40095
|
@ -331,9 +331,8 @@ void MIPS<ELFT>::writePlt(uint8_t *Buf, uint64_t GotPltEntryAddr,
|
|||
return;
|
||||
}
|
||||
|
||||
unsigned JrInst =
|
||||
isMipsR6() ? (Config->ZHazardplt ? 0x03200409 : 0x03200009)
|
||||
: (Config->ZHazardplt ? 0x03200408 : 0x03200008);
|
||||
uint32_t JrInst = isMipsR6() ? (Config->ZHazardplt ? 0x03200409 : 0x03200009)
|
||||
: (Config->ZHazardplt ? 0x03200408 : 0x03200008);
|
||||
|
||||
write32<E>(Buf, 0x3c0f0000); // lui $15, %hi(.got.plt entry)
|
||||
write32<E>(Buf + 4, 0x8df90000); // l[wd] $25, %lo(.got.plt entry)($15)
|
||||
|
|
Loading…
Reference in New Issue