1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Simplify. NFC.

llvm-svn: 255894
This commit is contained in:
Rafael Espindola 2015-12-17 14:19:52 +00:00
parent d78a561416
commit 4648b3e87c

View File

@ -113,13 +113,10 @@ unsigned PPCELFObjectWriter::GetRelocType(const MCValue &Target,
break;
}
break;
case PPC::fixup_ppc_half16ds: {
raw_ostream &OS = *(new raw_fd_ostream(2, false));
Target.print(OS);
OS << "\n";
case PPC::fixup_ppc_half16ds:
Target.print(errs());
errs() << '\n';
report_fatal_error("Invalid PC-relative half16ds relocation");
break;
}
case FK_Data_4:
case FK_PCRel_4:
Type = ELF::R_PPC_REL32;