Patch: libgloss/arm/syscalls.c
Jeff Johnston
jjohnstn@redhat.com
Thu May 5 23:16:00 GMT 2005
Patch checked in. Thanks.
-- Jeff J.
Tobias Anderberg wrote:
> Seems like there slipped in a "quoted printable" error with the
> last commit. The following patch fixes that.
>
> * arm/syscalls.c (get_errno): Fix output register contstraint.
>
> Index: syscalls.c
> ===================================================================
> RCS file: /cvs/src/src/libgloss/arm/syscalls.c,v
> retrieving revision 1.3
> diff -u -w -u -w -r1.3 syscalls.c
> --- syscalls.c 28 Apr 2005 18:40:39 -0000 1.3
> +++ syscalls.c 3 May 2005 08:18:31 -0000
> @@ -180,7 +180,7 @@
> return do_AngelSWI (AngelSWI_Reason_Errno, NULL);
> #else
> register r0 asm("r0");
> - asm ("swi %a1" : "=3Dr"(r0) : "i" (SWI_GetErrno));
> + asm ("swi %a1" : "=r"(r0) : "i" (SWI_GetErrno));
> return r0;
> #endif
> }
More information about the Newlib
mailing list