ELF PowerPC64 ABI puts the LR save word at 16 byte offset, not 8.
This commit is contained in:
parent
bbc50ebc63
commit
fc498ec178
@ -49,7 +49,8 @@
|
||||
|
||||
/* Offset to the LR Save word (ppc32) */
|
||||
#define RETURN_OFFSET 4
|
||||
#define RETURN_OFFSET64 8
|
||||
/* Offset to LR Save word (ppc64). CR Save area sits between back chain and LR */
|
||||
#define RETURN_OFFSET64 16
|
||||
|
||||
#define INKERNEL(x) ((x) <= VM_MAX_KERNEL_ADDRESS && \
|
||||
(x) >= VM_MIN_KERNEL_ADDRESS)
|
||||
|
Loading…
Reference in New Issue
Block a user