From 92825fd954725082a0b89d26bc20a38e1063d3d8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 1 Feb 2013 08:29:04 +0000 Subject: [PATCH] * crt0.S: Add recognition of the e3v5 architecture variant. --- libgloss/ChangeLog | 5 +++++ libgloss/v850/crt0.S | 4 ++-- newlib/ChangeLog | 5 +++++ newlib/libc/sys/sysnecv850/crt0.S | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index fb7641140..3d5e2e874 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2013-02-01 Nick Clifton + + * v850/crt0.S: Add recognition of the e3v5 + architecture variant. + 2013-01-18 Marcus Shawcroft * aarch64/Machine.in (RDIMON_SCRIPTS): diff --git a/libgloss/v850/crt0.S b/libgloss/v850/crt0.S index 5149bf2cf..c9c93e72d 100644 --- a/libgloss/v850/crt0.S +++ b/libgloss/v850/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 @@ -14,7 +14,7 @@ _start: mov hilo(__gp), gp mov hilo(__ctbp), r6 ldsr r6, ctbp -#if defined(__v850e2v3__) +#if defined(__v850e2v3__) || defined(__v850e3v5__) // FPU enable stsr psw, r6 movhi 1, r0, r7 diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ebc3c94c8..4819ddb17 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2013-02-01 Nick Clifton + + * libc/sys/sysnecv850/crt0.S: Add recognition of the e3v5 + architecture variant. + 2013-01-22 Joel Sherrill * 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 d8eef8a26..17c8c2841 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