projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix paths used for doc publishing in the nightly builds
[ghc-hetmet.git]
/
rts
/
Linker.c
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
4b984da
..
657c2c3
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-1109,7
+1109,7
@@
static void ghciInsertStrHashTable ( char* obj_name,
(char*)key,
obj_name
);
(char*)key,
obj_name
);
- exit(1);
+ stg_exit(1);
}
/* -----------------------------------------------------------------------------
* initialize the object linker
}
/* -----------------------------------------------------------------------------
* initialize the object linker
@@
-4976,7
+4976,7
@@
static int ocGetNames_MachO(ObjectCode* oc)
for(i=0;i<segLC->nsects;i++)
{
for(i=0;i<segLC->nsects;i++)
{
- IF_DEBUG(linker, debugBelch("ocGetNames_MachO: segment %d\n"));
+ IF_DEBUG(linker, debugBelch("ocGetNames_MachO: segment %d\n", i));
if (sections[i].size == 0)
continue;
if (sections[i].size == 0)
continue;