77a0443568
Needed for clisp-2.44 now that it doesn't ship bundled avcall. Hinted by uwe@ Bump PKGREVISION. XXX untested
13 lines
522 B
Text
13 lines
522 B
Text
$NetBSD: patch-ai,v 1.1 2008/03/03 21:41:30 tnn Exp $
|
|
|
|
--- avcall/avcall-sparc64.c.orig 2004-01-26 15:58:39.000000000 +0100
|
|
+++ avcall/avcall-sparc64.c
|
|
@@ -185,7 +185,7 @@ __builtin_avcall(av_alist* l)
|
|
}
|
|
|
|
/* call function with 1st 6 args */
|
|
- i = ({ __avword iret; /* %o0 */
|
|
+ i = ({ register __avword iret __asm__ ("%o0");
|
|
iret = (*l->func)(l->args[0], l->args[1], l->args[2],
|
|
l->args[3], l->args[4], l->args[5]);
|
|
asm ("nop"); /* struct returning functions skip this instruction */
|