Syscall

Philip Blundell philb@gnu.org
Sat Jun 2 03:04:00 GMT 2001


>syscode is always 0x23456, no matter what system call I use in my C
>program. I see from the arch/arm/kernel/entry-common.S, that the syscall
>code is retrieved using the link register. I was confused a bit by this
>inconsistency. The above cross-compiler (arm-elf-gcc) uses the newlib.
>That made me wonder if glibc and newlib differ in the way they store
>the syscall codes and if the numbers used for syscalls differ between
>them.

Newlib simply doesn't support the Linux/ARM ABI.

p.


-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7GLo9VTLPJe9CT30RAiVhAJ9QUu+JilorOyr65VIVH60OiZKdnwCg0Rzt
CNz9Umv9nvg+lKmZN5844Ng=
=ZXc1
-----END PGP SIGNATURE-----


More information about the Newlib mailing list