From: Ulrich Drepper Date: Thu, 12 Jun 2003 16:18:11 +0000 (+0000) Subject: Fix handling of syscalls with more than four parameters. X-Git-Tag: glibc-2.16-ports-before-merge~1356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e14c55d3807e26f499b3c5615603a4d69bedf6;p=thirdparty%2Fglibc.git Fix handling of syscalls with more than four parameters. --- diff --git a/sysdeps/unix/sysv/linux/cris/sysdep.h b/sysdeps/unix/sysv/linux/cris/sysdep.h index f22a3d24e8c..ba404913149 100644 --- a/sysdeps/unix/sysv/linux/cris/sysdep.h +++ b/sysdeps/unix/sysv/linux/cris/sysdep.h @@ -209,7 +209,7 @@ #define LOAD_ARGS_c_5(r10, r11, r12, r13, mof) \ LOAD_ARGS_c_4(r10, r11, r12, r13) #define LOAD_ARGS_asm_5(r10, r11, r12, r13, mof) \ - LOAD_ARGS_asm_4 (r10, r11, r12, r13) "move %5,$mof\n\t" + LOAD_ARGS_asm_4 (r10, r11, r12, r13) "move %6,$mof\n\t" #define ASM_CLOBBER_5 ASM_CLOBBER_4 #define ASM_ARGS_5(r10, r11, r12, r13, mof) \ ASM_ARGS_4 (r10, r11, r12, r13), "g" (mof) @@ -218,7 +218,7 @@ LOAD_ARGS_c_5(r10, r11, r12, r13, mof) #define LOAD_ARGS_asm_6(r10, r11, r12, r13, mof, srp) \ LOAD_ARGS_asm_5(r10, r11, r12, r13, mof) \ - "move %6,$srp\n\t" + "move %7,$srp\n\t" #define ASM_CLOBBER_6 ASM_CLOBBER_5, "srp" #define ASM_ARGS_6(r10, r11, r12, r13, mof, srp) \ ASM_ARGS_5 (r10, r11, r12, r13, mof), "g" (srp)