[PATCH] libgloss/arm: Add linux syscall interface.

Jeff Johnston jjohnstn@redhat.com
Sat Jun 24 21:19:00 GMT 2006


Patch checked in.

-- Jeff J.

Shaun Jackman wrote:
> On 6/23/06, Daniel Jacobowitz <drow@false.org> wrote:
> 
>> On Thu, May 25, 2006 at 01:54:07PM -0600, Shaun Jackman wrote:
>> > 2006-05-25  Shaun Jackman  <sjackman@gmail.com>
>> >
>> >       * arm/Makefile.in: Add Linux syscall interface.
>> >       * arm/linux-crt0.S: New file.
>> >       * arm/linux-syscall.h: New file.
>> >       * arm/linux-syscalls0.S: New file.
>> >       * arm/linux-syscalls1.c: New file.
>>
>> Has anyone tried "make install" for arm in the last month?  I'm pretty
>> sure this broke it.
>>
>> > +LINUX_SCRIPTS = linux.specs
>>
>> > +install-linux:
>> > +     set -e; for x in ${LINUX_CRT0} ${LINUX_BSP}; do 
>> ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
>> > +     set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} 
>> ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
>>
>> But there's no coff-linux.specs or elf-linux.specs to be found.  This
>> showed up on our nightly tester.
> 
> 
> My mistake. Here's a patch for the missing arm/elf-linux.specs file.
> 
> Cheers,
> Shaun
> 
> 2006-06-23  Shaun Jackman  <sjackman@gmail.com>
> 
>     * arm/elf-linux.specs: New file.
> 
> --- /dev/null    2006-06-19 09:06:27.671334848 -0600
> +++ arm/elf-linux.specs    2006-06-21 17:13:57.000000000 -0600
> @@ -0,0 +1,11 @@
> +%rename lib libc
> +
> +*libgloss:
> +-lgloss-linux
> +
> +*lib:
> +%(libc) %(libgloss)
> +
> +*startfile:
> +linux-crt0%O%s crti%O%s crtbegin%O%s
> +



More information about the Newlib mailing list