Module Name:    src
Committed By:   matt
Date:           Mon Aug 19 22:10:51 UTC 2013

Modified Files:
        src/lib/libc/arch/arm/sys: __aeabi_read_tp.S

Log Message:
Always compile as ARM even if -mthumb is given.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/arm/sys/__aeabi_read_tp.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/arm/sys/__aeabi_read_tp.S
diff -u src/lib/libc/arch/arm/sys/__aeabi_read_tp.S:1.4 src/lib/libc/arch/arm/sys/__aeabi_read_tp.S:1.5
--- src/lib/libc/arch/arm/sys/__aeabi_read_tp.S:1.4	Sat Aug 17 01:08:35 2013
+++ src/lib/libc/arch/arm/sys/__aeabi_read_tp.S	Mon Aug 19 22:10:51 2013
@@ -1,17 +1,14 @@
-/* $NetBSD: __aeabi_read_tp.S,v 1.4 2013/08/17 01:08:35 matt Exp $ */
+/* $NetBSD: __aeabi_read_tp.S,v 1.5 2013/08/19 22:10:51 matt Exp $ */
 
+#undef __thumb__
 #include "SYS.h"
 
-#if defined(__thumb__) && !defined(_ARM_ARCH_T2)
-#error Thumb only supported on armv7
-#endif
-
 /*
  * 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? */

Reply via email to