From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30068 invoked by alias); 8 Jul 2002 20:32:00 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 30057 invoked from network); 8 Jul 2002 20:31:57 -0000 Received: from unknown (HELO MAIL.onetta.com) (65.206.236.2) by sources.redhat.com with SMTP; 8 Jul 2002 20:31:57 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 08 Jul 2002 13:32:00 -0000 Message-ID: <3CB66238087B324A9222A966EACA50EA04C529@mail> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Luoqi Chen" To: "zhlg_shuhan" Cc: Subject: RE: [ECOS] why STACK_FRAME_PPC_SIZE was defined 56? X-SW-Source: 2002-07/txt/msg00078.txt.bz2 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? >=20 >=20 > hi,all! >=20 > i have browsed eABI summary,but failed to find its stack=20 > frame size should be 56 in ppc processor.eABI summary only=20 > hints rough its content. >=20 > could you help me? >=20 >=20 >=20 > regards! >=20 >=20 >=20 > zhlg > ______________________________________ >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =D0=C2=C0=CB=C3=E2=B7=D1=B5=E7=D7=D3=D3=CA=CF=E4 (http://mail.sina.com.cn) > =D0=C2=C0=CB=B7=D6=C0=E0=D0=C5=CF=A2=A3=BA=B6=FE=CA=D6=CA=D0=B3=A1=D7=DF= =D2=BB=D7=DF=A3=AC=B8=C3=B3=F6=CA=D6=CA=B1=BE=CD=B3=F6=CA=D6=A3=A1=20 > (http://classad.sina.com.cn/2shou/) >=20 > --=20 > Before posting, please read the FAQ:=20 > http://sources.redhat.com/fom/ecos > and search the list archive: http://sources.redhat.com/ml/ecos-discuss >=20 >=20 -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss