diff options
author | Anton Blanchard <anton@samba.org> | 2014-04-22 21:41:07 -0400 |
---|---|---|
committer | Anton Blanchard <anton@samba.org> | 2014-04-22 21:41:07 -0400 |
commit | cec4b7eaf09d330e94e8e94133d360e6f1855974 (patch) | |
tree | 0cdc63445b8feb2ca138c6dd6d37ae39cb38daed | |
parent | 721aeaa9fdf35a672eef8ebdc4cd04bde38c3cea (diff) |
selftests/powerpc: Update for ABIv2
Add some new definitions required to build the copyloop tests.
Signed-off-by: Anton Blanchard <anton@samba.org>
-rw-r--r-- | tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
46 | #define R20 r20 | 46 | #define R20 r20 |
47 | #define R21 r21 | 47 | #define R21 r21 |
48 | #define R22 r22 | 48 | #define R22 r22 |
49 | #define R29 r29 | ||
50 | #define R30 r30 | ||
51 | #define R31 r31 | ||
49 | 52 | ||
50 | #define STACKFRAMESIZE 256 | 53 | #define STACKFRAMESIZE 256 |
51 | #define STK_PARAM(i) (48 + ((i)-3)*8) | ||
52 | #define STK_REG(i) (112 + ((i)-14)*8) | 54 | #define STK_REG(i) (112 + ((i)-14)*8) |
53 | 55 | ||
54 | #define _GLOBAL(A) FUNC_START(test_ ## A) | 56 | #define _GLOBAL(A) FUNC_START(test_ ## A) |
57 | #define _GLOBAL_TOC(A) _GLOBAL(A) | ||
55 | 58 | ||
56 | #define PPC_MTOCRF(A, B) mtocrf A, B | 59 | #define PPC_MTOCRF(A, B) mtocrf A, B |
57 | 60 | ||