Reenable assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2010-10-18 19:33:01 +00:00
parent 3bcb3a6b8d
commit 24dc9ecdc5

View File

@ -684,8 +684,9 @@ void ELFObjectWriterImpl::RecordRelocation(const MCAssembler &Asm,
if (IsPCRel) {
switch (Modifier) {
default:
llvm_unreachable("Unimplemented");
case MCSymbolRefExpr::VK_None:
Type = ELF::R_386_PC32;
//llvm_unreachable("Unimplemented");
break;
case MCSymbolRefExpr::VK_PLT:
Type = ELF::R_386_PLT32;