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