Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Don't define register replacements ...



details:   https://anonhg.NetBSD.org/src/rev/8e8777ddc8b0
branches:  trunk
changeset: 964512:8e8777ddc8b0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Aug 05 16:24:48 2019 +0000

description:
Don't define register replacements when targetting 32bit ARM.

diffstat:

 sys/arch/aarch64/include/asm.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 001ec0432466 -r 8e8777ddc8b0 sys/arch/aarch64/include/asm.h
--- a/sys/arch/aarch64/include/asm.h    Mon Aug 05 15:30:37 2019 +0000
+++ b/sys/arch/aarch64/include/asm.h    Mon Aug 05 16:24:48 2019 +0000
@@ -1,11 +1,13 @@
-/* $NetBSD: asm.h,v 1.3 2018/07/17 18:08:37 christos Exp $ */
+/* $NetBSD: asm.h,v 1.4 2019/08/05 16:24:48 joerg Exp $ */
 
 #ifndef _AARCH64_ASM_H_
 #define _AARCH64_ASM_H_
 
 #include <arm/asm.h>
 
+#ifdef __aarch64__
 #define        fp      x29
 #define        lr      x30
+#endif
 
 #endif /* !_AARCH64_ASM_H_ */



Home | Main Index | Thread Index | Old Index