Re: [Linux-ia64] Guile garbage collector on ia64-linux

From: Andreas Schwab <schwab_at_suse.de>
Date: 2003-06-25 19:34:22
stefan <stefan@lkcc.org> writes:

|> With newer installations this has changed and the code does not work
|> anymore.  I know you stated somewhere in the past the set of
|> functions/structures has been introduced in glibc-2.2.3.  I do not know
|> exactly which version is current know.  The problem we need to solve for
|> the Guile garbage collection are as follows:
|> 
|>  * have some header where ucontext_t is declared but
|>    setcontext()/getcontext() is not -> so we can redeclare it to make
|>    getcontext() return the 'struct rv'.

Alternatively you could name getcontext differently on the C level, but
give it getcontext as the assembler name, like this:

extern struct rv ia64_getcontext (ucontext_t *) __asm__ ("getcontext");

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

_______________________________________________
Linux-IA64 mailing list
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Received on Wed Jun 25 05:36:49 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST