Update comment.
authorEric Christopher <echristo@apple.com>
Thu, 17 Jun 2010 00:49:46 +0000 (00:49 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 17 Jun 2010 00:49:46 +0000 (00:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106191 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MachObjectWriter.cpp

index 347615011a961b7607ddbe26dbe54e90466a16b8..79d74b92241f00041812815256612ed43809e353 100644 (file)
@@ -758,7 +758,8 @@ public:
 
     // We're only going to have a second symbol in pic mode and it'll be a
     // subtraction from the picbase. For 32-bit pic the addend is the difference
-    // between the picbase and the next address.
+    // between the picbase and the next address.  For 32-bit static the addend
+    // is zero.
     if (Target.getSymB()) {
       IsPCRel = 1;
     } else {