wut/rpl/common/stub.S

14 lines
242 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"; \
2016-07-06 20:21:31 +02:00
.global name; \
name: \
lis %r0, name##_stub@h; \
ori %r0, %r0, name##_stub@l; \
mtctr %r0; \
bctr;
2015-12-27 03:10:38 +01:00
#include "exports.h"