[patch] Update v850's crt0.S for v850e2 and v850e2v3
Kevin Buettner
kevinb@redhat.com
Fri Aug 3 09:48:00 GMT 2012
While attempting to test a v850e2v3 tool chain recently, I found it
necessary to enable v850e-specific start up code for v850e2 and
v850e2v3 too. FWIW, libgloss already does this.
Okay to commit?
* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
start up code for v850e2 and v850e2v3 too.
Index: libc/sys/sysnecv850/crt0.S
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/sysnecv850/crt0.S,v
retrieving revision 1.4
diff -u -p -r1.4 crt0.S
--- libc/sys/sysnecv850/crt0.S 21 May 2008 07:44:32 -0000 1.4
+++ libc/sys/sysnecv850/crt0.S 25 Jul 2012 18:17:10 -0000
@@ -5,7 +5,7 @@
_start:
-#if defined __v850e__
+#if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__)
movea 255, r0, r20
mov 65535, r21
More information about the Newlib
mailing list