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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
2ad3ac2b
Commit
2ad3ac2b
authored
Jul 25, 2008
by
Simon Marlow
Browse files
don't steal %ebx for the GC on x86: it's also used by PIC
parent
c6453def
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GCThread.h
View file @
2ad3ac2b
...
...
@@ -196,7 +196,9 @@ extern gc_thread **gc_threads;
#define GLOBAL_REG_DECL(type,name,reg) register type name REG(reg);
#if defined(REG_Base)
#if defined(REG_Base) && !defined(i386_HOST_ARCH)
// on i386, REG_Base is %ebx which is also used for PIC, so we don't
// want to steal it
GLOBAL_REG_DECL
(
gc_thread
*
,
gct
,
REG_Base
)
#define DECLARE_GCT
/* nothing */
...
...
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