[PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm
Tue Nov 8 15:02:00 GMT 2011
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
> 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
> As for the changes of newlib/libc/sys/arm itself, it includes:
> 1, synchronize the implementation of existing functions from libgloss,
> 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”
> building newlib
> for various arm targets successfully.
> Is it OK?
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 32686 bytes
Desc: not available
More information about the Newlib