projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba8f18
)
Update comment.
author
Eric Christopher
<echristo@apple.com>
Thu, 17 Jun 2010 00:49:46 +0000
(
00:49
+0000)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/lib/MC/MachObjectWriter.cpp
b/lib/MC/MachObjectWriter.cpp
index 347615011a961b7607ddbe26dbe54e90466a16b8..79d74b92241f00041812815256612ed43809e353 100644
(file)
--- 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 {