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] |
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.
Attachment:
newlib-sync-20111026.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |