guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Schwab
Subject: Re: [Linux-ia64] Guile garbage collector on ia64-linux
Date: Wed, 25 Jun 2003 11:34:22 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

stefan <address@hidden> 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, address@hidden
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]