mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Try to unbreak Windows build after r188022
llvm-svn: 188057
This commit is contained in:
parent
ae74eb18d7
commit
e87d27ad05
@ -565,7 +565,7 @@ std::pair<const typename ELFFile<ELFT>::Elf_Shdr *,
|
||||
const typename ELFFile<ELFT>::Elf_Sym *>
|
||||
ELFFile<ELFT>::getRelocationSymbol(const Elf_Shdr *Sec, const RelT *Rel) const {
|
||||
if (!Sec->sh_link)
|
||||
return std::pair<const Elf_Shdr *, const Elf_Sym *>(0, 0);
|
||||
return std::make_pair((const Elf_Shdr *)0, (const Elf_Sym *)0);
|
||||
const Elf_Shdr *SymTable = getSection(Sec->sh_link);
|
||||
return std::make_pair(
|
||||
SymTable, getEntry<Elf_Sym>(SymTable, Rel->getSymbol(isMips64EL())));
|
||||
|
Loading…
Reference in New Issue
Block a user