Re: External references (Was: Code Gen Prob -- Retraction...)...
13 Oct
1998
13 Oct
'98
9:46 a.m.
Orlando Llanes wrote:
On Mon, 12 Oct 1998, Frank Heckenbach wrote:
This seems to be a bug in fact. They are declared "local" in the assembler output (or shouldn't they be global for some reason, Peter?).
I meant at a low level within the unit. In my example, a variable was declared in the unit, and another variable declared in the asm file. The unit had access to the asm's variables, but not vice versa.
Yes, I think that's this problem. If you compile a unit with `-S', you'll find that global variables in the implementation (as well as global variables in a program) are `local' instead of `global' or `comm'. -- Frank Heckenbach, frank@fjf.gnu.de http://fjf.gnu.de/ PGP and GPG keys: http://fjf.gnu.de/plan
10167
Age (days ago)
10167
Last active (days ago)
1 comments
2 participants
participants (2)
-
Frank Heckenbach -
Peter Gerwinski