Ticket #273 (closed todo: wontfix)
Fix system-dependent code in src/gc/system.c
Reported by: | whiteknight | Owned by: | whiteknight |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | core | Version: | |
Severity: | low | Keywords: | gc platforms |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
See also #271 for some background about this problem on Sparc64/OpenBSD.
src/gc/system.c contains a number of system-specific routines for reading pointer values out of processor registers and storing them onto the stack for a later stackwalk. There are some system-dependent routines in this file separated by preprocessor flags, each working a little bit differently.
We need to clean this section up. It needs to use the configure system to generate platform-specific code, and definitely needs to avoid hand-assembled machine instructions.
Change History
Note: See
TracTickets for help on using
tickets.