arm: fix broken FETCH_LINKPTR
parent
f7eed30132
commit
fffb55011b
|
@ -19,7 +19,7 @@
|
|||
#endif
|
||||
|
||||
#define FETCH_LINKPTR(dest) \
|
||||
asm("mov x0, %0" : "=r" ((dest)))
|
||||
asm("mov %0, x19" : "=r" ((dest)))
|
||||
|
||||
#include "common-defs.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define TYPE(__proc)
|
||||
|
||||
#define FETCH_LINKPTR(dest) \
|
||||
asm("movs r0, %0" : "=r" ((dest)))
|
||||
asm("movs %0, r4" : "=r" ((dest)))
|
||||
|
||||
#include "common-defs.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue