From: Anton Blanchard Date: Wed, 23 Apr 2014 01:41:07 +0000 (+1000) Subject: selftests/powerpc: Update for ABIv2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cec4b7eaf09d330e94e8e94133d360e6f1855974;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git selftests/powerpc: Update for ABIv2 Add some new definitions required to build the copyloop tests. Signed-off-by: Anton Blanchard --- diff --git a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h index ccd9c84c4e3f..d1dc37425510 100644 --- a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h +++ b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h @@ -46,12 +46,15 @@ #define R20 r20 #define R21 r21 #define R22 r22 +#define R29 r29 +#define R30 r30 +#define R31 r31 #define STACKFRAMESIZE 256 -#define STK_PARAM(i) (48 + ((i)-3)*8) #define STK_REG(i) (112 + ((i)-14)*8) #define _GLOBAL(A) FUNC_START(test_ ## A) +#define _GLOBAL_TOC(A) _GLOBAL(A) #define PPC_MTOCRF(A, B) mtocrf A, B