mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 01:01:50 +01:00
14 lines
200 B
ArmAsm
14 lines
200 B
ArmAsm
|
#include "config.h"
|
||
|
|
||
|
#define EXPORT(name) \
|
||
|
.align 2; \
|
||
|
.section ".rplTramp.text","ax"; \
|
||
|
.global name; \
|
||
|
name: \
|
||
|
li %r0, 0; \
|
||
|
oris %r0, %r0, 0; \
|
||
|
mtctr %r0; \
|
||
|
bctr; \
|
||
|
|
||
|
#include "exports.h"
|