[llvm-commits] [llvm] r116719 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 18 11:03:28 PDT 2010
Author: rafael
Date: Mon Oct 18 13:03:28 2010
New Revision: 116719
URL: http://llvm.org/viewvc/llvm-project?rev=116719&view=rev
Log:
Make the bots happy.
Modified:
llvm/trunk/lib/MC/ELFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=116719&r1=116718&r2=116719&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Mon Oct 18 13:03:28 2010
@@ -684,7 +684,9 @@
if (IsPCRel) {
switch (Modifier) {
default:
- llvm_unreachable("Unimplemented");
+ Type = ELF::R_386_PC32;
+ //llvm_unreachable("Unimplemented");
+ break;
case MCSymbolRefExpr::VK_PLT:
Type = ELF::R_386_PLT32;
break;
More information about the llvm-commits
mailing list