libgloss ARM compile error

Shaun Jackman sjackman@gmail.com
Sun Nov 15 15:54:00 GMT 2009


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



More information about the Newlib mailing list