www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/27/23:45:01

From: weim AT neu DOT edu DOT cn (Wei Min)
Message-Id: <9606280339.AA07201@neu.edu.cn>
Subject: PI
To: djgpp AT delorie DOT com
Date: Fri, 28 Jun 1996 11:39:35 +0800 (CsT)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019