summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-25 17:11:50 +0000
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-25 17:11:50 +0000
commit334819e8ab3beb4fea8530896fa73ad8d8a9c472 (patch)
tree1fff49a2e83503e0306d7dbba848a21e60f70b03
parent35f64f2cb1c0d282c0e1ecd508256cd10bc3b451 (diff)
downloadgcc-334819e8ab3beb4fea8530896fa73ad8d8a9c472.tar.gz
* config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205360 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config/sh/crt1.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 4b58a1fafc6..a1f84555826 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
+
+ * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
+
2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/t-softfp (soft-fp-objects-base): New variable.
diff --git a/libgcc/config/sh/crt1.S b/libgcc/config/sh/crt1.S
index 0b9e0858f72..5bbf016e68b 100644
--- a/libgcc/config/sh/crt1.S
+++ b/libgcc/config/sh/crt1.S
@@ -697,7 +697,7 @@ profiling_enabled:
start:
mov.l stack_k,r15
-#if defined (__SH3__) || (defined (__SH_FPU_ANY__) && ! defined (__SH2A__)) || defined (__SH4_NOFPU__)
+#if defined (__SH3__) || (defined (__SH_FPU_ANY__) && ! defined (__SH2E__) && ! defined (__SH2A__)) || defined (__SH4_NOFPU__)
#define VBR_SETUP
! before zeroing the bss ...
! if the vbr is already set to vbr_start then the program has been restarted