From: Sandeep D. <sa...@dd...> - 2001-08-22 16:26:26
|
Hi Johan, I would recommend against disabling it, at some point, I want to make this work, this is especially useful for RTOS implementation. Regards Sandeep > -----Original Message----- > From: sdc...@li... > [mailto:sdc...@li...]On Behalf Of Johan Knol > Sent: Wednesday, August 22, 2001 4:57 AM > To: sdc...@li... > Subject: Re: [sdcc-devel] [ sdcc-Bugs-453919 ] --xstack and C-support > functions > > > I wonder if --xstack isn't obsolete. E.g. P2 and _spx are initialized > with --xdata-loc instead of --xstack-loc. Yes, the xstack > area is located at > the beginning of XSEG. But any further usage of XSEG would > ruin P2 and thus > corrupt the external stack access. > > I couldn't make any of my test cases work with --xstack, so > shouldn't we > disable it? > > Johan > > ----- Original Message ----- > From: <no...@so...> > To: <no...@so...> > Sent: Tuesday, August 21, 2001 10:02 PM > Subject: [sdcc-devel] [ sdcc-Bugs-453919 ] --xstack and > C-support functions > > > > Bugs item #453919, was opened at 2001-08-21 13:02 > > You can respond by visiting: > > > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=45 3919&group_id= 599 > > Category: msc51(8051) target > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: Bernhard Held (bernhardheld) > Assigned to: Nobody/Anonymous (nobody) > Summary: --xstack and C-support functions > > Initial Comment: > compile with --xstack: > > extern f2 (int c, int d); > > f (int a) > { > f2 (3, a); // OK : parameter on xstack > return 3 * a; // BUG: parameter in DSEG > } > > The 2nd parameter of _mulsint is written to DSEG > instead of xstack. (I don't need --xstack at all, but > I want to show, that there's a problem.) > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=453919&group_id= 599 > > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > http://lists.sourceforge.net/lists/listinfo/sdcc-devel > _______________________________________________ sdcc-devel mailing list sdc...@li... http://lists.sourceforge.net/lists/listinfo/sdcc-devel |