]>
Commit | Line | Data |
---|---|---|
c986f2a6 KR |
1 | /* HPPA linker stub instructions */ |
2 | ||
3 | #define STUB_MAX_SIZE (sizeof(int) * 20) /* maximum size of a single stub routine */ | |
4 | #define STUB_BUFFER_INCR (STUB_MAX_SIZE * 20) /* when realloc'ing, use this size */ | |
5 | #define STUB_RELOC_INCR 20 /* when realloc'ing, use this size */ | |
6 | ||
7 | #define ADDI_8_SP 0xb7de0010 /* addi 8,sp,sp */ | |
8 | #define STW_RP_M8SP 0x6bc23ff1 /* stw rp,-8(sp) */ | |
9 | #define STWS_ARG0_M8SP 0x0fda1291 /* stws arg0,-8(sp) */ | |
10 | #define STWS_ARG1_M8SP 0x0fd91291 /* stws arg1,-8(sp) */ | |
11 | #define STWS_ARG2_M8SP 0x0fd81291 /* stws arg2,-8(sp) */ | |
12 | #define STWS_ARG3_M8SP 0x0fd71291 /* stws arg3,-8(sp) */ | |
13 | #define FSTWS_FARG0_M8SP 0x27d11204 /* fstws farg0,-8(sp) */ | |
14 | #define FSTWS_FARG1_M8SP 0x27d11205 /* fstws farg1,-8(sp) */ | |
15 | #define FSTWS_FARG2_M8SP 0x27d11206 /* fstws farg2,-8(sp) */ | |
16 | #define FSTWS_FARG3_M8SP 0x27d11207 /* fstws farg3,-8(sp) */ | |
17 | #define STWS_RET0_M8SP 0x0fda1291 /* stws arg0,-8(sp) */ | |
18 | #define FSTWS_FRET0_M8SP 0x27d11204 /* fstws fret0,-8(sp) */ | |
19 | #define LDWS_M8SP_ARG0 0x0fd1109a /* ldws -8(sp),arg0 */ | |
20 | #define LDWS_M8SP_ARG1 0x0fd11099 /* ldws -8(sp),arg1 */ | |
21 | #define LDWS_M8SP_ARG2 0x0fd11098 /* ldws -8(sp),arg2 */ | |
22 | #define LDWS_M8SP_ARG3 0x0fd11097 /* ldws -8(sp),arg3 */ | |
23 | #define FLDWS_M8SP_FARG0 0x27d11004 /* fldws -8(sp),farg0 */ | |
24 | #define FLDWS_M8SP_FARG1 0x27d11005 /* fldws -8(sp),farg1 */ | |
25 | #define FLDWS_M8SP_FARG2 0x27d11006 /* fldws -8(sp),farg2 */ | |
26 | #define FLDWS_M8SP_FARG3 0x27d11007 /* fldws -8(sp),farg3 */ | |
27 | #define LDWS_M8SP_RET0 0x0fd1109c /* ldws -8(sp),ret0 */ | |
28 | #define FLDWS_M8SP_FRET0 0x27d11004 /* fldws -8(sp),fret0 */ | |
29 | #define STWS_MA_ARG0_8SP 0x0fda12b0 /* stws,ma arg0,8(sp) */ | |
30 | #define STWS_MA_ARG1_8SP 0x0fd912b0 /* stws,ma arg1,8(sp) */ | |
31 | #define STWS_MA_ARG2_8SP 0x0fd812b0 /* stws,ma arg2,8(sp) */ | |
32 | #define STWS_MA_ARG3_8SP 0x0fd712b0 /* stws,ma arg3,8(sp) */ | |
33 | #define FSTWS_MA_FARG0_8SP 0x27d01224 /* fstws,ma farg0,8(sp) */ | |
34 | #define FSTWS_MA_FARG1_8SP 0x27d01225 /* fstws,ma farg1,8(sp) */ | |
35 | #define FSTWS_MA_FARG2_8SP 0x27d01226 /* fstws,ma farg2,8(sp) */ | |
36 | #define FSTWS_MA_FARG3_8SP 0x27d01227 /* fstws,ma farg3,8(sp) */ | |
37 | #define LDWS_MB_M8SP_ARG0 0x0fd130ba /* ldws,mb -8(sp),arg0 */ | |
38 | #define LDWS_MB_M8SP_ARG1 0x0fd130b9 /* ldws,mb -8(sp),arg1 */ | |
39 | #define LDWS_MB_M8SP_ARG2 0x0fd130b8 /* ldws,mb -8(sp),arg2 */ | |
40 | #define LDWS_MB_M8SP_ARG3 0x0fd130b7 /* ldws,mb -8(sp),arg3 */ | |
41 | #define FLDWS_MB_M8SP_FARG0 0x27d13024 /* fldws,mb -8(sp),farg0 */ | |
42 | #define FLDWS_MB_M8SP_FARG1 0x27d13025 /* fldws,mb -8(sp),farg1 */ | |
43 | #define FLDWS_MB_M8SP_FARG2 0x27d13026 /* fldws,mb -8(sp),farg2 */ | |
44 | #define FLDWS_MB_M8SP_FARG3 0x27d13027 /* fldws,mb -8(sp),farg3 */ | |
45 | #define BL_XXX_RP 0xe8400000 /* bl 0,rp */ | |
46 | #define NOP 0x08000240 /* nop */ | |
47 | #define SUBI_8_SP 0x97de0010 /* subi 8,sp,sp */ | |
48 | #define LDW_M8SP_RP 0x4bc23ff1 /* ldw -8(sp),rp */ | |
49 | #define BV_N_0RP 0xe840c002 /* bv,n 0(rp) */ |