This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: libgloss/arm/syscalls.c


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
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]