libaio/libaio-0.3.104.diff

21 lines
588 B
Diff

--- src/raw_syscall.c
+++ src/raw_syscall.c
@@ -4,6 +4,7 @@
/* based on code from glibc by Jes Sorensen */
__asm__(".text\n"
".globl __ia64_aio_raw_syscall\n"
+ ".proc __ia64_aio_raw_syscall\n"
"__ia64_aio_raw_syscall:\n"
"alloc r2=ar.pfs,1,0,8,0\n"
"mov r15=r32\n"
--- src/syscall-ia64.h
+++ src/syscall-ia64.h
@@ -7,6 +7,7 @@
#define __ia64_raw_syscall(fname, sname) \
__asm__ (".text\n" \
".globl " SYMSTR(fname) "\n" \
+ ".proc " SYMSTR(fname) "\n" \
SYMSTR(fname) ":\n" \
" mov r15=" SYMSTR( __NR_ ## sname ) "\n" \
" break 0x100000\n" \