Re: 4k stacks in 2.6

From: Arjan van de Ven
Date: Thu May 27 2004 - 10:35:59 EST


On Thu, 2004-05-27 at 17:21, JÃrn Engel wrote:
> On Fri, 28 May 2004 01:08:02 +1000, Keith Owens wrote:
> > On Thu, 27 May 2004 16:59:35 +0200,
> > =?iso-8859-1?Q?J=F6rn?= Engel <joern@xxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > >Plus the script is wrong sometimes. I have had trouble with sizes
> > >around 4G or 2G, and never found the time to really figure out what's
> > >going on. Might be an alloca thing that got misparsed somehow.
> >
> > Some code results in negative adjustments to the stack size on exit,
> > which look like 4G sizes. My script checks for those and ignores them.
> > /^[89a-f].......$/d;
>
> Ok, looks as if only my script is wrong. Do you know what exactly
> causes such a negative adjustment?

you can write "add 100,%esp" as "sub -100, %esp" :)
compilers seem to do that at times, probably some cpu model inside the
compiler decides the later is better code in some cases :)

Attachment: signature.asc
Description: This is a digitally signed message part