Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/arm/sys Always compile as ARM even if -mthumb ...
details: https://anonhg.NetBSD.org/src/rev/55844af1e63b
branches: trunk
changeset: 789468:55844af1e63b
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 19 22:10:51 2013 +0000
description:
Always compile as ARM even if -mthumb is given.
diffstat:
lib/libc/arch/arm/sys/__aeabi_read_tp.S | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (25 lines):
diff -r 1c518f176ae5 -r 55844af1e63b lib/libc/arch/arm/sys/__aeabi_read_tp.S
--- a/lib/libc/arch/arm/sys/__aeabi_read_tp.S Mon Aug 19 22:08:31 2013 +0000
+++ b/lib/libc/arch/arm/sys/__aeabi_read_tp.S Mon Aug 19 22:10:51 2013 +0000
@@ -1,17 +1,14 @@
-/* $NetBSD: __aeabi_read_tp.S,v 1.4 2013/08/17 01:08:35 matt Exp $ */
-
-#include "SYS.h"
+/* $NetBSD: __aeabi_read_tp.S,v 1.5 2013/08/19 22:10:51 matt Exp $ */
-#if defined(__thumb__) && !defined(_ARM_ARCH_T2)
-#error Thumb only supported on armv7
-#endif
+#undef __thumb__
+#include "SYS.h"
/*
* Implementations of this function should corrupt only the result register
* (r0) and the non-parameter integer core registers allowed to be corrupted
* by the [AAPCS] (ip, lr, and CPSR).
*/
-ENTRY(__aeabi_read_tp)
+ARM_ENTRY(__aeabi_read_tp)
mrc p15, 0, r0, c13, c0, 3
#ifndef _ARM_ARCH_6
cmp r0, #0 /* was it zero? */
Home |
Main Index |
Thread Index |
Old Index