[PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm
Bin Cheng
bin.cheng@arm.com
Tue Nov 15 13:01:00 GMT 2011
Hi,
Ping..
Please help me review this patch.
Thanks very much.
> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On
> Behalf Of Bin Cheng
> Sent: Tuesday, November 08, 2011 1:21 PM
> To: newlib@sources.redhat.com
> Cc: nickc@redhat.com; 'Mike Frysinger'
> Subject: RE: [PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm
>
> Sorry for that.
> Now attached the patch.
>
> Thanks very much!
>
> > -----Original Message-----
> > From: Bin Cheng [mailto:bin.cheng@arm.com]
> > Sent: Monday, November 07, 2011 5:15 PM
> > To: 'newlib@sources.redhat.com'
> > Cc: 'Nick Clifton'
> > Subject: [PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm
> >
> > Hi,
> > I am synchronizing the newlib/libc/sys/arm with libgloss/arm.
> > The arm.h and crt0.S have already been synced, here comes this patch
> finishing
> > the work.
> >
> > It is basically straight forward copying from libgloss/arm to
> > newlib/libc/sys/arm.
> > As for the changes of newlib/libc/sys/arm itself, it includes:
> > 1, synchronize the implementation of existing functions from libgloss,
> most in
> > syscalls.c;
> > 2, add posix library functions in libc/sys/libcfunc.c by copying it
> > from libgloss, such as clock/isatty, etc.; 3, reorganize the source
> > files, for example, spilt _exit.c/_kill.c from syscalls.c as libgloss;
> > 4, keep aeabi_atexit.c; 5, minor code changes...
> >
> > I tested it by configuring newlib with
“--enable-newlib-supplied-syscalls”
> and
> > building newlib
> > for various arm targets successfully.
> >
> > Is it OK?
> >
> > Thanks
> >
> > 2011-11-07 Bin Cheng <bin.cheng@arm.com>
> >
> > * libc/sys/arm/syscalls.c: Synchronize from libgloss/arm/syscalls.c.
> > * libc/sys/arm/libcfunc.c: Synchronize from libgloss/arm/libcfunc.c.
> > * libc/sys/arm/trap.S: Synchronize from libgloss/arm/trap.S.
> > * libc/sys/arm/swi.h: Synchronize from libgloss/arm/swi.h.
> > * libc/sys/arm/_exit.c: New file, Synchronize from
> libgloss/arm/_exit.c.
> > * libc/sys/arm/_kill.c: New file, Synchronize from
> libgloss/arm/_kill.c.
> > * libc/sys/arm/Makefile.am (extra_objs): Add _exit.o and _kill.o.
> > (EXTRA_lib_a_SOURCES): Add _exit.c and _kill.c.
> > * libc/sys/arm/Makefile.in: Regenerate.
> > * libgloss/arm/syscals.c (_lseek): Add return type.
More information about the Newlib
mailing list