This is the mail archive of the newlib@sourceware.org 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] Update v850's crt0.S for v850e2 and v850e2v3


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


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