[PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm
Tue Nov 15 13:01:00 GMT 2011
Please help me review this patch.
Thanks very much.
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com] On
> Behalf Of Bin Cheng
> Sent: Tuesday, November 08, 2011 1:21 PM
> To: firstname.lastname@example.org
> Cc: email@example.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:firstname.lastname@example.org]
> > Sent: Monday, November 07, 2011 5:15 PM
> > To: 'email@example.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
> > 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
> > building newlib
> > for various arm targets successfully.
> > Is it OK?
> > Thanks
> > 2011-11-07 Bin Cheng <firstname.lastname@example.org>
> > * 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
> > * libc/sys/arm/_kill.c: New file, Synchronize from
> > * 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