From: andy@galois.com Date: Wed, 13 Dec 2006 16:06:01 +0000 (+0000) Subject: fixing obvious typo in darwin_HOST_OS code (currently does not compile). X-Git-Tag: 2006-12-16~12 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=132a718bfb9e44a49b5eaecaf21530b463663308 fixing obvious typo in darwin_HOST_OS code (currently does not compile). --- diff --git a/rts/Linker.c b/rts/Linker.c index bd0b543..b1bfd7d 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1286,7 +1286,7 @@ loadObj( char *path ) // reading the file, and then we misalign oc->image on purpose so // that the actual sections end up aligned again. oc->misalignment = machoGetMisalignment(f); - oc->image = stgMallocBytes(oc->fileSize + misalignment, "loadObj(image)"); + oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)"); # else oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)"); # endif