Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
9428b42b
Commit
9428b42b
authored
Dec 10, 2001
by
sof
Browse files
[project @ 2001-12-10 17:59:54 by sof]
RTS_SYMBOLS: MainCapability is not defined in SMP-mode
parent
a1cb8472
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Linker.c
View file @
9428b42b
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.7
5
2001/12/10 17:5
5:40 sewardj
Exp $
* $Id: Linker.c,v 1.7
6
2001/12/10 17:5
9:54 sof
Exp $
*
* (c) The GHC Team, 2000, 2001
*
...
...
@@ -151,6 +151,11 @@ typedef struct _RtsSymbolVal {
Sym(__umoddi3)
#endif
#ifndef SMP
# define MAIN_CAP_SYM SymX(MainCapability)
#else
# define MAIN_CAP_SYM
#endif
#define RTS_SYMBOLS \
Maybe_ForeignObj \
...
...
@@ -174,7 +179,7 @@ typedef struct _RtsSymbolVal {
SymX(stg_gen_chk) \
SymX(stg_yield_to_interpreter) \
SymX(ErrorHdrHook) \
SymX(MainCapability)
\
MAIN_CAP_SYM
\
SymX(MallocFailHook) \
SymX(NoRunnableThreadsHook) \
SymX(OnExitHook) \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment