This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Syscall


>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.


PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]