This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Global addressing
- To: <gcc at gcc dot gnu dot org>
- Subject: Global addressing
- From: Joy Mukherjee <jmukherj at csgrad dot cs dot vt dot edu>
- Date: Tue, 4 Sep 2001 17:56:05 -0400 (EDT)
Hi !
I need to relocate all the global variables of a program to some
other address and then force the executable to use the relocated set
instead of the original one . The problem is that when I looked at the
assembly code generated, it seems that the compiler uses direct addressing
for such globals .
Is there anyway I can force the compiler to use indexed addressing
ONLY for all variables - local/global ? I am working on the Intel-Linux
plateform . I would really appreciate any help .
Joy.
******************************************************************************
JOY MUKHERJEE
OFFICE:
GRADUATE STUDENT
DEPTT. OF COMPUTER SCIENCE
MCBRYDE HALL
VIRGINIA TECH
BLACKSBURG , VA - 24061
PH. - (540) 231 5853
RESIDENCE:
1211 PROGRESS STREET
APT. # 7100 F
BLACKSBURG , VA - 24060
USA.
PH. - (540) 951 7771
Other e-mails : jmukherj@vt.edu
jmjee@lycos.com
******************************************************************************