Mail Archives: djgpp-workers/2001/10/30/15:04:28
> That @dfn is not really approppriate here, since you are not
> explaining what BSS is. Better use @code{bss}, or even "the
> @code{bss} section".
If you're going to use @code, you should use ".bss" instead of "bss".
If you use dfn, use BSS instead of bss. Use BSS (undecorated - it's
just an acronym) when referring generically to the uninitialized data,
and @code{.bss} when specifically talking about the COFF section by
that name. Yeah, sometimes it will be hard to decide, but they're
fairly interchangeable.
> The _real_ problem is not with the startup code. The variables in the
> BSS section are AFAIK initialized by the linker, not by the startup
> code.
No, the stub zeros out bss at run-time. If you're running an unexec'd
image, the unexec should change the .bss memory range to .data so that
it acts like initialized data.
- Raw text -