wut/rpl/common/stub.S

14 lines
200 B
ArmAsm
Raw Normal View History

2015-12-27 03:10:38 +01:00
#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"