mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Add __attribute__ ((returns_twice)) to the ia64_getcontext prototype
so that gcc will make the right arrangements and avoid an illegal instruction during call-with-current-continuation.
This commit is contained in:
parent
d17b254606
commit
ff0ce31c65
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ struct rv
|
|||
long retval;
|
||||
long first_return;
|
||||
};
|
||||
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((returns_twice))
|
||||
#endif /* __GNUC__ */
|
||||
extern struct rv ia64_getcontext (ucontext_t *) __asm__ ("getcontext");
|
||||
#endif /* __ia64__ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue