blob: 02f3bef32a59a3b906a818d89ba84651630a4cfe [file] [log] [blame] [edit]
extern "C" int __attribute__((naked)) __AArch64ADRPThunk_step_here() {
asm (
"adrp x16, step_here\n"
"add x16, x16, :lo12:step_here\n"
"br x16"
);
}
extern "C" __attribute__((used)) int step_here() {
return 47;
}
int main() {
return __AArch64ADRPThunk_step_here();
}