This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: why STACK_FRAME_PPC_SIZE was defined 56?
- From: "Luoqi Chen" <lchen at onetta dot com>
- To: "zhlg_shuhan" <zhlg_shuhan at sina dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 8 Jul 2002 13:31:56 -0700
- Subject: RE: [ECOS] why STACK_FRAME_PPC_SIZE was defined 56?
I don't why it's set to 56, but I believe it is wrong. To call
a C function from assembly code, the caller only needs to allocate
a minimum of 8 bytes (16 for sys V abi due to alignment) of stack
frame, allocating 48 bytes more would not cause any problem though.
It is also quite wierd that there are always two call frames setup
back-to-back, should not be necessary.
-lq
> -----Original Message-----
> From: zhlg_shuhan [mailto:zhlg_shuhan@sina.com]
> Sent: Friday, July 05, 2002 10:00 PM
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] why STACK_FRAME_PPC_SIZE was defined 56?
>
>
> hi,all!
>
> i have browsed eABI summary,but failed to find its stack
> frame size should be 56 in ppc processor.eABI summary only
> hints rough its content.
>
> could you help me?
>
>
>
> regards!
>
>
>
> zhlg
> ______________________________________
>
>
> ===================================================================
> 新浪免费电子邮箱 (http://mail.sina.com.cn)
> 新浪分类信息:二手市场走一走,该出手时就出手!
> (http://classad.sina.com.cn/2shou/)
>
> --
> Before posting, please read the FAQ:
> http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss