Don't define register replacements when targetting 32bit ARM.diff -r1.3 -r1.4 src/sys/arch/aarch64/include/asm.h
(joerg)
--- src/sys/arch/aarch64/include/asm.h 2018/07/17 18:08:37 1.3
+++ src/sys/arch/aarch64/include/asm.h 2019/08/05 16:24:48 1.4
@@ -1,11 +1,13 @@ | @@ -1,11 +1,13 @@ | |||
1 | /* $NetBSD: asm.h,v 1.3 2018/07/17 18:08:37 christos Exp $ */ | 1 | /* $NetBSD: asm.h,v 1.4 2019/08/05 16:24:48 joerg Exp $ */ | |
2 | 2 | |||
3 | #ifndef _AARCH64_ASM_H_ | 3 | #ifndef _AARCH64_ASM_H_ | |
4 | #define _AARCH64_ASM_H_ | 4 | #define _AARCH64_ASM_H_ | |
5 | 5 | |||
6 | #include <arm/asm.h> | 6 | #include <arm/asm.h> | |
7 | 7 | |||
8 | #ifdef __aarch64__ | |||
8 | #define fp x29 | 9 | #define fp x29 | |
9 | #define lr x30 | 10 | #define lr x30 | |
11 | #endif | |||
10 | 12 | |||
11 | #endif /* !_AARCH64_ASM_H_ */ | 13 | #endif /* !_AARCH64_ASM_H_ */ |