On 08/09/13 09:41, Michael Kerrisk (man-pages) wrote: > [CC += Mike F] > > On Fri, Aug 9, 2013 at 1:59 AM, Johan Erlandsson <jeoerl@xxxxxxxxx> wrote: >> Registers was off by one. > > I'd like some more eyes on this. Mike, does this look good to you? So, looking at this again, the proposed patch certainly seems consistent with various other sources, e.g.: http://peterdn.com/post/e28098Hello-World!e28099-in-ARM-assembly.aspx https://wiki.debian.org/ArmEabiPort http://en.wikipedia.org/wiki/Calling_convention#ARM Patch applied. Cheers, Michael >> Reference: >> http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3105/4 >> --- >> man2/syscall.2 | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/man2/syscall.2 b/man2/syscall.2 >> index 1cca9ce..a4a243d 100644 >> --- a/man2/syscall.2 >> +++ b/man2/syscall.2 >> @@ -156,7 +156,7 @@ l l1 l l1 l. >> arch/ABI instruction syscall # retval Notes >> _ >> arm/OABI swi NR - a1 NR is syscall # >> -arm/EABI swi 0x0 r7 r1 >> +arm/EABI swi 0x0 r7 r0 >> blackfin excpt 0x0 P0 R0 >> i386 int $0x80 eax eax >> ia64 break 0x100000 r15 r10/r8 >> @@ -181,7 +181,7 @@ l l l l l l l l. >> arch/ABI arg1 arg2 arg3 arg4 arg5 arg6 arg7 >> _ >> arm/OABI a1 a2 a3 a4 v1 v2 v3 >> -arm/EABI r1 r2 r3 r4 r5 r6 r7 >> +arm/EABI r0 r1 r2 r3 r4 r5 r6 >> blackfin R0 R1 R2 R3 R4 R5 - >> i386 ebx ecx edx esi edi ebp - >> ia64 r11 r9 r10 r14 r15 r13 - >> -- >> 1.7.9.5 > > > -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html