1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* vacall function for m68k CPU */
/*
* Copyright 1995-2006 Bruno Haible, <bruno@clisp.org>
*
* This is free software distributed under the GNU General Public Licence
* described in the file COPYING. Contact the author if you don't have this
* or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
* on this software.
*/
#ifndef REENTRANT
#include "vacall.h.in"
#else /* REENTRANT */
#include "vacall_r.h.in"
#endif
#ifdef REENTRANT
#define __vacall __vacall_r
register struct { void (*vacall_function) (void*,va_alist); void* arg; }
* env
#ifdef __NetBSD__
__asm__("a1");
#else
__asm__("a0");
#endif
#endif
register void* sret __asm__("a1");
register int iret __asm__("d0");
register int iret2 __asm__("d1");
register int pret __asm__("a0"); /* some compilers return pointers in a0 */
register float fret __asm__("d0"); /* d0 */
register double dret __asm__("d0"); /* d0,d1 */
|
|
<
<
<
<
|
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* vacall function for m68k CPU */
/*
* Copyright 1995-2004 Bruno Haible, <bruno@clisp.org>
*
* This is free software distributed under the GNU General Public Licence
* described in the file COPYING. Contact the author if you don't have this
* or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
* on this software.
*/
#ifndef REENTRANT
#include "vacall.h.in"
#else /* REENTRANT */
#include "vacall_r.h.in"
#endif
#ifdef REENTRANT
#define __vacall __vacall_r
register struct { void (*vacall_function) (void*,va_alist); void* arg; }
* env __asm__("a0");
#endif
register void* sret __asm__("a1");
register int iret __asm__("d0");
register int iret2 __asm__("d1");
register int pret __asm__("a0"); /* some compilers return pointers in a0 */
register float fret __asm__("d0"); /* d0 */
register double dret __asm__("d0"); /* d0,d1 */
|