mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 00:21:48 +01:00
14 lines
242 B
ArmAsm
14 lines
242 B
ArmAsm
#include "config.h"
|
|
|
|
#define EXPORT(name) \
|
|
.align 2; \
|
|
.section ".rplTramp.text","ax"; \
|
|
.global name; \
|
|
name: \
|
|
lis %r0, name##_stub@h; \
|
|
ori %r0, %r0, name##_stub@l; \
|
|
mtctr %r0; \
|
|
bctr;
|
|
|
|
#include "exports.h"
|