This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
patch to libc/sys/arm/crt0.S
- To: newlib at sourceware dot cygnus dot com
- Subject: patch to libc/sys/arm/crt0.S
- From: "Keith.Walker" <Keith dot Walker at arm dot com>
- Date: Wed, 28 Jun 2000 10:25:14 +0100
I send a patch yesterday to fix a problem in
libc/sys/arm/crt0.S to do with a missing
length field required by the #AngleSWI_Reason_GetCmdLine
SWI.
I incorrectly initialised the length to 0 on entry
rather than the length of the buffer.
Here is my amended patch.
RCS file: /cvs/src/src/newlib/libc/sys/arm/crt0.S,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 crt0.S
*** crt0.S 2000/02/17 19:39:49 1.1.1.1
--- crt0.S 2000/06/27 16:13:01
***************
*** 226,231 ****
--- 226,232 ----
#ifdef ARM_RDI_MONITOR
.LC30: .word CommandLine
+ .word 255
/* Workspace for Angel calls. */
.data
Keith Walker keith.walker@arm.com Tel:+44 (1628) 427732
ARM Ltd http://www.arm.com