This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: RFA: Remove ARM syscall support from newlib
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Mon, 01 Aug 2011 11:20:21 +0100
- Subject: Re: RFA: Remove ARM syscall support from newlib
- References: <m3ipqng4nt.fsf@redhat.com>
On 27/07/11 15:49, Nick Clifton wrote:
> Hi Guys,
>
> The directory newlib/libc/sys/arm contains some obsolete code for ARM
> syscall support. The proper ARM syscall code is now in libgloss. So
> I am proposing the patch below. It removes the syscall support files
> and instead replaces them with a README-syscalls file which explains
> where to find the current syscall support code.
>
> Does anyone have any objections to my applying this patch ?
>
> Cheers
> Nick
>
> newlib/ChangeLog
> 2011-07-27 Nick Clifton <nickc@redhat.com>
>
> * configure.host (arm-*-*): Always set have_crt0="no".
> Remove definition of syscall_dir.
> * libc/sys/arm/REAME-syscalls: New file - mention that ARM syscall
> support is now in libgloss/arm.
> * libc/sys/arm/configure.in (AC_CONFIG_SRCDIR): Depend upon
> aeabi_atexit.c.
> * libc/sys/arm/configure: Regenerate.
> * libc/sys/arm/Makefile.am (extra_objs): Delete.
> (lib_a_LIBADD, EXTRA_lib_a_SOURCES): Delete.
> * libc/sys/arm/Makefile.in: Regenerate.
> * libc/sys/arm/crt0.S: Delete.
> * libc/sys/arm/libcfunc.c: Delete.
> * libc/sys/arm/swi.h: Delete.
> * libc/sys/arm/syscalls.c: Delete.
> * libc/sys/arm/trap.S: Delete.
>
Won't this require all users to now use a link script in order to build
their binaries. If so, then I think this will break testing of GCC.
R.