src/powerpc/internal.h
raw| 1 | #ifdef FFI_EXEC_STATIC_TRAMP |
| 2 | /* For the trampoline code table mapping, a mapping size of 64K is chosen. */ |
| 3 | #define PPC_TRAMP_MAP_SHIFT 16 |
| 4 | #define PPC_TRAMP_MAP_SIZE (1 << PPC_TRAMP_MAP_SHIFT) |
| 5 | # ifdef __PCREL__ |
| 6 | # define PPC_TRAMP_SIZE 24 |
| 7 | # else |
| 8 | # define PPC_TRAMP_SIZE 40 |
| 9 | # endif /* __PCREL__ */ |
| 10 | #endif /* FFI_EXEC_STATIC_TRAMP */ |