OSDN Git Service

Allocate additional space on stack for indirect syscall
authorChris Dearman <chris.dearman@imgtec.com>
Mon, 16 Dec 2013 22:10:13 +0000 (14:10 -0800)
committerElliott Hughes <enh@google.com>
Fri, 20 Dec 2013 23:36:00 +0000 (15:36 -0800)
commit766c7efe28fb066252eeb9b8e47e22970307c09e
treefa3872efb1ebf569e61f9b9092168ef611c88862
parent5e26221a1da6bc0f11819078e74f1f6e0b76f642
Allocate additional space on stack for indirect syscall

The caller is only required to allocate 16 bytes on the
stack for a0-a3. syscall is handling up to 6 arguments so
additional space is needed on the stack to avoid corrupting the
callers frame.

Change-Id: I054b31696decc3e17d9c70af18cd278b852235d1
libc/arch-mips/bionic/syscall.S