__NR_syscall undefined for arm big endian with eabi support

Paul Mundt lethal at linux-sh.org
Tue Mar 27 02:47:38 PDT 2007


On Tue, Mar 27, 2007 at 11:15:27AM +0200, Geerts Steven wrote:
> #if !defined(__thumb__) && !defined(__ARM_EABI__)	// I added here
> the extra ARM_EABI check!!!!
>         register long _r0 __asm__("r0")=(long)(sysnum);
>         register long _r6 __asm__("r6")=(long)(f);

This is pointless, since it's the calling convention that differs. EABI
simply doesn't support the syscall, so you'll have to -ENOSYS.

There's no point in trying to paper around unsupported syscalls, just fix
the application.


More information about the uClibc mailing list