Mail Archives: djgpp/1999/04/19/13:06:39
> According to the paragraph above in the instructions, "If the symbol
> is in the same object, the symbol table will have entries that refer
> to the sections themselves (always there and always private) that
> will be referred to. When you relocate the section itself, these
> symbols will reflect its new location."
When the relocation is to a static variable in the same object, the
assembler will create a dummy symbol that refers to the section
itself, and offset into the section to get to the static variable.
There's always a symbol involed, even if it's a fake symbol.
- Raw text -