OSDN Git Service

Fix ARM syscall argument loading.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 14 Jul 2009 15:52:27 +0000 (15:52 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 14 Jul 2009 15:52:27 +0000 (15:52 +0000)
commit7c3eebd556a30bb14dc7afba01de9803b40a3da0
tree358af30947c43d78437654d226879c1c6cc6fe42
parent9952af00f1cc08a5605d6c57578d09a89adb64f4
Fix ARM syscall argument loading.

This patch is a uClibc equivalent of
<http://sourceware.org/ml/libc-ports/2008-11/msg00006.html>, to
compute all syscall arguments on ARM in temporary variables before
loading them into register variables.  The principle is as for that
glibc patch; the problem I actually observed was a GCC internal
compiler error building ld.so for Thumb-2.

Signed-off-by: Joseph Myers <joseph@codesourcery.com>
libc/sysdeps/linux/arm/bits/syscalls.h