This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: libgloss ARM compile error
- From: Shaun Jackman <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Sat, 14 Nov 2009 20:45:23 -0700
- Subject: Re: libgloss ARM compile error
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
Hi Nick,
I just saw this thread:
http://sources.redhat.com/ml/newlib/2009/msg00953.html
`swi' simply needed to be replaced with `swi 0'. The Thumb system call
ABI for Linux passes the system call number in r7. Previous versions
of gas used a default argument of 0 if one was not specified for the
swi instruction.
Cheers,
Shaun