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:
b462d6a
)
[project @ 2005-03-15 16:15:46 by simonmar]
author
simonmar
<unknown>
Tue, 15 Mar 2005 16:15:46 +0000
(16:15 +0000)
committer
simonmar
<unknown>
Tue, 15 Mar 2005 16:15:46 +0000
(16:15 +0000)
TARGET->HOST
ghc/rts/Adjustor.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Adjustor.c
b/ghc/rts/Adjustor.c
index
3341c58
..
f6ea61c
100644
(file)
--- a/
ghc/rts/Adjustor.c
+++ b/
ghc/rts/Adjustor.c
@@
-131,7
+131,7
@@
__asm__ (
extern void obscure_ccall_ret_code(void);
#endif
extern void obscure_ccall_ret_code(void);
#endif
-#if defined(x86_64_TARGET_ARCH)
+#if defined(x86_64_HOST_ARCH)
__asm__ (
".globl " UNDERSCORE "obscure_ccall_ret_code\n"
UNDERSCORE "obscure_ccall_ret_code:\n\t"
__asm__ (
".globl " UNDERSCORE "obscure_ccall_ret_code\n"
UNDERSCORE "obscure_ccall_ret_code:\n\t"
@@
-238,7
+238,7
@@
void*
createAdjustor(int cconv, StgStablePtr hptr,
StgFunPtr wptr,
char *typeString
createAdjustor(int cconv, StgStablePtr hptr,
StgFunPtr wptr,
char *typeString
-#if !defined(powerpc_HOST_ARCH) && !defined(powerpc64_HOST_ARCH) && !defined(x86_64_TARGET_ARCH)
+#if !defined(powerpc_HOST_ARCH) && !defined(powerpc64_HOST_ARCH) && !defined(x86_64_HOST_ARCH)
STG_UNUSED
#endif
)
STG_UNUSED
#endif
)