Ticket #273 (closed todo: wontfix)
Fix system-dependent code in src/gc/system.c
|Reported by:||whiteknight||Owned by:||whiteknight|
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.