MCELF: Fix a thinko of mine.

llvm-svn: 112203
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index e71d546..0135662 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -480,7 +480,8 @@
         Value += Layout.getSymbolAddress(&SD) - Layout.getSymbolAddress(Base);
       Addend = Value;
       // Compensate for the addend on i386.
-      FixedValue = Is64Bit ? 0 : Value;
+      if (Is64Bit)
+        Value = 0;
     } else {
       if (F) {
         // Index of the section in .symtab against this symbol
@@ -495,6 +496,7 @@
         return;
       }
     }
+    FixedValue = Value;
   }
 
   // determine the type of the relocation