projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6eee9f8
)
Fix symbol macro names in Linker.c
author
Thorkil Naur
<naur@post11.tele.dk>
Fri, 21 Nov 2008 16:01:49 +0000
(16:01 +0000)
committer
Thorkil Naur
<naur@post11.tele.dk>
Fri, 21 Nov 2008 16:01:49 +0000
(16:01 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
7c1cd40
..
2119262
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-4674,7
+4674,7
@@
static void machoInitSymbolsWithoutUnderscore()
void **p = symbolsWithoutUnderscore;
__asm__ volatile(".globl _symbolsWithoutUnderscore\n.data\n_symbolsWithoutUnderscore:");
void **p = symbolsWithoutUnderscore;
__asm__ volatile(".globl _symbolsWithoutUnderscore\n.data\n_symbolsWithoutUnderscore:");
-#undef Sym
+#undef SymI_NeedsProto
#define SymI_NeedsProto(x) \
__asm__ volatile(".long " # x);
#define SymI_NeedsProto(x) \
__asm__ volatile(".long " # x);
@@
-4682,13
+4682,13
@@
static void machoInitSymbolsWithoutUnderscore()
__asm__ volatile(".text");
__asm__ volatile(".text");
-#undef Sym
+#undef SymI_NeedsProto
#define SymI_NeedsProto(x) \
ghciInsertStrHashTable("(GHCi built-in symbols)", symhash, #x, *p++);
RTS_MACHO_NOUNDERLINE_SYMBOLS
#define SymI_NeedsProto(x) \
ghciInsertStrHashTable("(GHCi built-in symbols)", symhash, #x, *p++);
RTS_MACHO_NOUNDERLINE_SYMBOLS
-#undef Sym
+#undef SymI_NeedsProto
}
#endif
}
#endif