Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch/arm Some assembly files need to compile...



details:   https://anonhg.NetBSD.org/src/rev/bb87d0db81d9
branches:  trunk
changeset: 789503:bb87d0db81d9
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Aug 20 21:43:03 2013 +0000

description:
Some assembly files need to compiled -marm since they are Thumb compatible.

diffstat:

 sys/lib/libkern/arch/arm/Makefile.inc |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r e02036aaa482 -r bb87d0db81d9 sys/lib/libkern/arch/arm/Makefile.inc
--- a/sys/lib/libkern/arch/arm/Makefile.inc     Tue Aug 20 21:37:39 2013 +0000
+++ b/sys/lib/libkern/arch/arm/Makefile.inc     Tue Aug 20 21:43:03 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.19 2013/08/12 23:22:12 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.20 2013/08/20 21:43:03 matt Exp $
 
 SRCS+= byte_swap_2.S byte_swap_4.S
 SRCS+= ffs.S
@@ -9,5 +9,17 @@
 .if !empty(MACHINE_ARCH:Mearm*)
 SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S __aeabi_lcmp.c __aeabi_ulcmp.c
 SRCS+= unwind_stub.c
-.else
+.endif
+.if empty(MACHINE_ARCH:Mearmv7*)
+CPUFLAGS.ffs.S+=       -marm
 .endif
+CPUFLAGS.divide.S+=    -marm
+CPUFLAGS.memcmp.S+=    -marm
+CPUFLAGS.memcpy.S+=    -marm
+CPUFLAGS.memmove.S+=   -marm
+CPUFLAGS.memset.S+=    -marm
+.if empty(CPPFLAGS:M-D_STANDALONE)
+CPUFLAGS.strcpy.S+=    -marm
+CPUFLAGS.strlcpy.S+=   -marm
+CPUFLAGS.strncpy.S+=   -marm
+.endif



Home | Main Index | Thread Index | Old Index