Mail Archives: djgpp/1996/06/27/23:45:01
I am developping a compiler with GCC, and this compiler
should produce position idependant code. While the object
file is loaded into memory, the code segment and data
segment are separated. So I meet a little trouble:
function declaration and global variable have same form,
but their base address is different. In MD file, I can't
tell them, because their form are all imm number.
So how can I confirm which is function and which is global
variable?
- Raw text -