This is the mail archive of the newlib@sourceware.cygnus.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]

patch to libc/sys/arm/crt0.S


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

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