aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-02-01 08:29:04 +0000
committerNick Clifton <nickc@redhat.com>2013-02-01 08:29:04 +0000
commit92825fd954725082a0b89d26bc20a38e1063d3d8 (patch)
tree5f495d564462ffa30751d843357c8f3a7638f339 /newlib
parent118e51be1d041b2fb7d77bba17bfd8eebb7e9307 (diff)
downloadnewlib-92825fd954725082a0b89d26bc20a38e1063d3d8.zip
newlib-92825fd954725082a0b89d26bc20a38e1063d3d8.tar.gz
newlib-92825fd954725082a0b89d26bc20a38e1063d3d8.tar.bz2
* crt0.S: Add recognition of the e3v5 architecture variant.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/sys/sysnecv850/crt0.S4
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index ebc3c94..4819ddb 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-01 Nick Clifton <nickc@redhat.com>
+
+ * libc/sys/sysnecv850/crt0.S: Add recognition of the e3v5
+ architecture variant.
+
2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
diff --git a/newlib/libc/sys/sysnecv850/crt0.S b/newlib/libc/sys/sysnecv850/crt0.S
index d8eef8a..17c8c28 100644
--- a/newlib/libc/sys/sysnecv850/crt0.S
+++ b/newlib/libc/sys/sysnecv850/crt0.S
@@ -5,7 +5,7 @@
_start:
-#if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__)
+#if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__) || defined(__v850e3v5__)
movea 255, r0, r20
mov 65535, r21
@@ -15,7 +15,7 @@ _start:
mov hilo(__ctbp), r6
ldsr r6, ctbp
-#if defined(__v850e2v3__)
+#if defined(__v850e2v3__) || defined(__v850e3v5__)
// FPU enable
stsr psw, r6
movhi 1, r0, r7