[llvm-commits] [llvm] r106191 - /llvm/trunk/lib/MC/MachObjectWriter.cpp
Eric Christopher
echristo at apple.com
Wed Jun 16 17:49:46 PDT 2010
Author: echristo
Date: Wed Jun 16 19:49:46 2010
New Revision: 106191
URL: http://llvm.org/viewvc/llvm-project?rev=106191&view=rev
Log:
Update comment.
Modified:
llvm/trunk/lib/MC/MachObjectWriter.cpp
Modified: llvm/trunk/lib/MC/MachObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MachObjectWriter.cpp?rev=106191&r1=106190&r2=106191&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MachObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/MachObjectWriter.cpp Wed Jun 16 19:49:46 2010
@@ -758,7 +758,8 @@
// 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 {
More information about the llvm-commits
mailing list