Comment out the PPC relocation offset adjustment. It must be done differently.

This unbreaks some tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136692 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp
index 050d11e..d7ec3d8 100644
--- a/lib/MC/ELFObjectWriter.cpp
+++ b/lib/MC/ELFObjectWriter.cpp
@@ -447,6 +447,9 @@
 
   uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) +
     Fixup.getOffset();
+#if 0
+  // TODO: This is necessary on PPC32 but it must be implemented
+  // in a different way.
   switch ((unsigned)Fixup.getKind()) {
     case PPC::fixup_ppc_ha16:
     case PPC::fixup_ppc_lo16:
@@ -455,6 +458,7 @@
     default:
       break;
   }
+#endif
 
   if (!hasRelocationAddend())
     Addend = 0;