mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 05:04:20 +00:00
selftests/powerpc: Update for ABIv2
Add some new definitions required to build the copyloop tests. Signed-off-by: Anton Blanchard <anton@samba.org>
This commit is contained in:
parent
721aeaa9fd
commit
cec4b7eaf0
1 changed files with 4 additions and 1 deletions
|
@ -46,12 +46,15 @@
|
||||||
#define R20 r20
|
#define R20 r20
|
||||||
#define R21 r21
|
#define R21 r21
|
||||||
#define R22 r22
|
#define R22 r22
|
||||||
|
#define R29 r29
|
||||||
|
#define R30 r30
|
||||||
|
#define R31 r31
|
||||||
|
|
||||||
#define STACKFRAMESIZE 256
|
#define STACKFRAMESIZE 256
|
||||||
#define STK_PARAM(i) (48 + ((i)-3)*8)
|
|
||||||
#define STK_REG(i) (112 + ((i)-14)*8)
|
#define STK_REG(i) (112 + ((i)-14)*8)
|
||||||
|
|
||||||
#define _GLOBAL(A) FUNC_START(test_ ## A)
|
#define _GLOBAL(A) FUNC_START(test_ ## A)
|
||||||
|
#define _GLOBAL_TOC(A) _GLOBAL(A)
|
||||||
|
|
||||||
#define PPC_MTOCRF(A, B) mtocrf A, B
|
#define PPC_MTOCRF(A, B) mtocrf A, B
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue