Sync SZ_FRAME with devel branch
modified: src/arch/powerpc/32/ppc_regs.h modified: src/arch/powerpc/64le/ppc_regs.h modified: src/powerpc64le-linux.elf-entry.S modified: src/powerpc64le-linux.elf-fold.S
This commit is contained in:
parent
c4a921283a
commit
9df4b6ea24
@ -36,6 +36,7 @@
|
||||
|
||||
/* Stack pointer */
|
||||
#define sp 1
|
||||
SZ_FRAME= 6*4 // (sp,cr,lr, xx,yy,zz) save area per calling convention
|
||||
|
||||
/* Subroutine arguments; not saved by callee */
|
||||
#define a0 3
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
|
||||
/* Stack pointer */
|
||||
#define sp 1
|
||||
SZ_FRAME= 6*8 + 8*8 // (sp,cr,lr, xx,yy,zz) + spill area for a0-a7
|
||||
|
||||
/* Subroutine arguments; not saved by callee */
|
||||
#define a0 3
|
||||
|
||||
@ -35,9 +35,6 @@
|
||||
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
SZ_LINK= 6*8
|
||||
SZ_PSAV= 8*8
|
||||
SZ_FRAME= SZ_LINK + SZ_PSAV
|
||||
|
||||
sz_b_info= 12
|
||||
sz_unc= 0
|
||||
|
||||
@ -50,11 +50,11 @@ sz_p_info= 12
|
||||
OVERHEAD= 2048
|
||||
|
||||
// http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#STACK
|
||||
SZ_LINK= 6*8 // (sp,cr,lr, tmp.xlc,tmp.ld,save.toc)
|
||||
SZ_PSAV= 8*8 // for arg9, arg10, ...; and for spilling a0-a7 if necessary
|
||||
//SZ_LINK= 6*8 // (sp,cr,lr, tmp.xlc,tmp.ld,save.toc)
|
||||
//SZ_PSAV= 8*8 // for arg9, arg10, ...; and for spilling a0-a7 if necessary
|
||||
// The parameter save area shall be allocated by the caller.
|
||||
// It shall be doubleword aligned, and shall be at least 8 doublewords in length.
|
||||
SZ_FRAME= SZ_LINK + SZ_PSAV
|
||||
//SZ_FRAME= SZ_LINK + SZ_PSAV // in ppc_regs.h
|
||||
|
||||
/* In:
|
||||
r31= &decompress; also 8+ (char *)&(#bytes which preceed &-8(r31)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user