Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/arch/earm bic sp not allowed in thumb (even with thu...
details: https://anonhg.NetBSD.org/src/rev/cb73be3a7e59
branches: trunk
changeset: 789723:cb73be3a7e59
user: matt <matt%NetBSD.org@localhost>
date: Thu Sep 05 00:27:38 2013 +0000
description:
bic sp not allowed in thumb (even with thumb2)
diffstat:
lib/csu/arch/earm/crt0.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6317be4f4748 -r cb73be3a7e59 lib/csu/arch/earm/crt0.S
--- a/lib/csu/arch/earm/crt0.S Wed Sep 04 23:08:29 2013 +0000
+++ b/lib/csu/arch/earm/crt0.S Thu Sep 05 00:27:38 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.S,v 1.2 2013/08/21 03:03:02 matt Exp $ */
+/* $NetBSD: crt0.S,v 1.3 2013/09/05 00:27:38 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <arm/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.2 2013/08/21 03:03:02 matt Exp $")
+RCSID("$NetBSD: crt0.S,v 1.3 2013/09/05 00:27:38 matt Exp $")
STRONG_ALIAS(_start,__start)
@@ -44,7 +44,7 @@
mov r2, ip /* tmp -> ps_strings */
/* Ensure the stack is properly aligned before calling C code. */
-#if !defined(__thumb__) || defined(_ARM_ARCH_T2)
+#if !defined(__thumb__)
bic sp, sp, #7
#else
movs r6, #7
Home |
Main Index |
Thread Index |
Old Index