From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joy Mukherjee To: Subject: Global addressing Date: Tue, 04 Sep 2001 14:56:00 -0000 Message-id: X-SW-Source: 2001-09/msg00072.html 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 ******************************************************************************