1 /* derived from glibc sysdeps/unix/sysv/linux/ia64/sysdep.S */
5 #include <asm/asmmacro.h>
6 #include <asm/unistd.h>
9 .prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(0)
10 alloc r33=ar.pfs, 0, 4, 0, 0
16 br.call.sptk.many b0 = __errno_location
17 .Lret0: /* force new bundle */
26 GLOBAL_ENTRY(__ia64_syscall)
27 mov r15=r37 /* syscall number */
29 cmp.eq p6,p0=-1,r10 /* r10 = -1 on error */
30 (p6) br.cond.spnt.few __syscall_error