Commit:

Nick Clifton nickc@redhat.com
Thu Mar 24 16:29:00 GMT 2011


Hi Guys,

  I am applying the patch below as an obvious fix to the XStormy16's
  crt0.s file.  It refered to an undefined symbol _int_hwint whereas in
  fact it should have been referring to _hwint.

Cheers
  Nick

libgloss/ChangeLog
2011-03-24  Nick Clifton  <nickc@redhat.com>

	* xstormy16/crt0.s (_hwint): Fix .size directive.  
  
Index: xstormy16/crt0.s
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/crt0.s,v
retrieving revision 1.2
diff -u -3 -p -r1.2 crt0.s
--- xstormy16/crt0.s    23 Apr 2003 17:54:00 -0000      1.2
+++ xstormy16/crt0.s    24 Mar 2011 16:25:03 -0000
@@ -104,7 +104,7 @@ _int_basetimer:
        .weak _hwinit
 _hwinit:
        ret
-1:     .size _int_hwinit,1b-_int_hwinit
+1:     .size _hwinit,1b-_hwinit
 
 # The first word in .data has address 0, so it's not a good
 # idea to use it as its address conflicts with NULL.



More information about the Newlib mailing list