Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/conf Compile the armv4 cpufunc file with -mcpu=...



details:   https://anonhg.NetBSD.org/src/rev/e4e4aceb3bcd
branches:  trunk
changeset: 793003:e4e4aceb3bcd
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 23 20:58:55 2014 +0000

description:
Compile the armv4 cpufunc file with -mcpu=arm8 instead of arm9, to avoid
an armv4t marked object file which causes failure in the shark objcopy
step when creating the a.out version of the kernel.

diffstat:

 sys/arch/arm/conf/Makefile.arm |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d54049927bae -r e4e4aceb3bcd sys/arch/arm/conf/Makefile.arm
--- a/sys/arch/arm/conf/Makefile.arm    Thu Jan 23 19:28:47 2014 +0000
+++ b/sys/arch/arm/conf/Makefile.arm    Thu Jan 23 20:58:55 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm,v 1.40 2014/01/04 01:33:11 joerg Exp $
+#      $NetBSD: Makefile.arm,v 1.41 2014/01/23 20:58:55 martin Exp $
 
 # Makefile for NetBSD
 #
@@ -47,7 +47,7 @@
 
 # This files use instructions deprecated for ARMv7+, but still
 # included in kernel that build with higher -mcpu=... settings.
-CPPFLAGS.cpufunc_asm_armv4.S+= -mcpu=arm9
+CPPFLAGS.cpufunc_asm_armv4.S+= -mcpu=arm8
 CPPFLAGS.cpufunc_asm_armv6.S+= -mcpu=arm1136j-s
 CPPFLAGS.cpufunc_asm_arm11.S+= -mcpu=arm1136j-s
 CPPFLAGS.cpufunc_asm_xscale.S+=        -mcpu=xscale



Home | Main Index | Thread Index | Old Index