aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-06-17 00:49:46 +0000
committerEric Christopher <echristo@apple.com>2010-06-17 00:49:46 +0000
commit04b8d3cc4914ffe74f1c78fbf0ff4c8c3299cbea (patch)
treefd270a2e0d0b01164eb97e0a7342511525bdc3ef
parenteba8f1893b5d8b115fc4d537cddf02f1a9269dda (diff)
downloadexternal_llvm-04b8d3cc4914ffe74f1c78fbf0ff4c8c3299cbea.zip
external_llvm-04b8d3cc4914ffe74f1c78fbf0ff4c8c3299cbea.tar.gz
external_llvm-04b8d3cc4914ffe74f1c78fbf0ff4c8c3299cbea.tar.bz2
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106191 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/MC/MachObjectWriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp
index 3476150..79d74b9 100644
--- a/lib/MC/MachObjectWriter.cpp
+++ b/lib/MC/MachObjectWriter.cpp
@@ -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 {