diff --git a/sys/arm64/include/asm.h b/sys/arm64/include/asm.h index 8bd47ed4d89a..251cc668beca 100644 --- a/sys/arm64/include/asm.h +++ b/sys/arm64/include/asm.h @@ -57,6 +57,9 @@ #define PIC_SYM(x,y) x #endif +/* Alias for link register x30 */ +#define lr x30 + /* * Sets the trap fault handler. The exception handler will return to the * address in the handler register on a data abort or the xzr register to