This is the mail archive of the newlib@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] libgloss/arm: Add linux syscall interface.


I regret my delayed reply; I broke my wrist a couple weeks ago, and
the injury makes typing laborious. With luck, I should be healed up in
another week.

On 5/19/06, Jeff Johnston <jjohnstn@redhat.com> wrote:
If this is solely meant to be a robust syscall layer that sits under
vanilla-newlib, then I am perfectly ok with it in that context.  I do
not want to see this being a beach-head for "if we just add POSIX
functions X, Y, and Z, now we can run application K".

The primary purpose of this work is a robust system call layer. I expect to add functions in C source form to linux-syscalls1.c only when necessary to shim between the user-space section 2 function and the system call, such as wait and waitpid calling wait4.

I do hope there would be low resistance to any requests of the form
`if we only add syscall X to linux-syscalls0.S we can run application
K'. Through this method I've been able to to port busybox to arm-elf
-- initially using libgloss-rdp, then briefly libgloss-redboot, and
now finally libgloss-linux.

Would you be willing to start working on adding arm support to
sys/linux?  You have already done some of the work.

It's certainly a task I'd be interested in. It's just a matter of finding the time.

Cheers,
Shaun


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