projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7c548f
)
Fix typo causing the PowerPC OS X build to fail
author
Ian Lynagh
<igloo@earth.li>
Wed, 31 Jan 2007 12:01:53 +0000
(12:01 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 31 Jan 2007 12:01:53 +0000
(12:01 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
789093d
..
79febe7
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-1324,7
+1324,7
@@
loadObj( char *path )
// that the actual sections end up aligned again.
oc->misalignment = machoGetMisalignment(f);
oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)");
- oc->image += misalignment;
+ oc->image += oc->misalignment;
# else
oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)");
# endif