software stack check for arm
Richard Earnshaw
rearnsha@arm.com
Wed Apr 12 06:21:00 GMT 2000
Sadly, although the option is recognized, the code to implement it has
never been added. This is odd, I thought that it had; but I can find no
evidence of this in any of the releases :-(
We should probably remove the documentation for the command until such
time as we have an implementation. I've no idea when someone will find
time to add it.
R.
>
> ---------------------- Forwarded by Kenny Liew/Quantel Research on 04/12/2000 09:26 AM
> ---------------------------
>
>
> Free Software Foundation <gnu@gnu.org> on 04/12/2000 03:50:32 AM
>
> To: kenny.liew@quantel.com
> cc: (bcc: Kenny Liew/Quantel Research)
>
> Subject: Re: software stack check for arm
>
>
>
>
> kenny.liew@quantel.com wrote:
> > Hi,
> > When I compiled a C program using gnu compiler, with the option
> > -mapcs-frame -mapcs-stack-check
> > for strongarm processor, the generated code doesn't check for stack overflow, as indicated by the
> > gnu documentation.
> > There should be a call to the following function , in the documentation:
> >
> >
> > -mapcs-stack-check
> > Generate code to check the amount of stack space available upon entry to every function
> > (that actually uses some stack space). If there is insufficient space available then either the
> > function `__rt_stkovf_split_small' or `__rt_stkovf_split_big' will be called, depending upon the
> > amount of stack space required.
> > The run time system is required to provide these functions. The default is
> `-mno-apcs-stack-check',
> > since this produces smaller code.
> >
> >
> >
> > I presume there's a bug in this switch.
> >
> >
> > Please inform me any of any development pertaining the matter.
>
> You should report the bug to <bug-gcc@gnu.org>.
>
> --
> Bradley M. Kuhn, Assistant to the President of the FSF
> Free Software Foundation | Phone: +1-617-542-5942
> 59 Temple Place, Suite 330 | Fax: +1-617-542-2652
> Boston, MA 02111-1307 USA | Web: http://www.gnu.org
>
>
>
>
More information about the Gcc-bugs
mailing list