projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add some more GC roots (fixes conc048, and possibly some others)
[ghc-hetmet.git]
/
rts
/
Linker.c
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
e5a5ae6
..
69b21a2
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-1633,7
+1633,7
@@
static int ocAllocateSymbolExtras( ObjectCode* oc, int count, int first )
return 0;
}
#ifdef x86_64_HOST_ARCH
- if (oc->symbol_extras > 0x80000000)
+ if ((StgWord)oc->symbol_extras > 0x80000000)
{
barf("mmap() returned memory outside 2Gb");
}