[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variables in yyparse

From: Paul Hilfinger
Subject: Re: variables in yyparse
Date: Sun, 19 Dec 2004 17:23:52 -0800

 > What I don't quite understand is why there needs to be a heap at all in the
 > `bss' section, when it seems to me from your explanations and Paul's that tw
 > addresses, a lower and upper bound, would be sufficient.  Or is the `bss'
 > section now used only for the stack?  

The bss section, being of fixed size, is used neither for the stack
nor the heap, but rather for uninitialized (actually, 0-initialized)
static variables, as declared in C by

    int x;    /* External linkage */
    static int y;    /* File-scope only */

at the outer level.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]