From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vincent Claverie" To: Subject: LD : Loadaddr and AT Date: Thu, 06 Apr 2000 01:36:00 -0000 Message-id: <000b01bf9fa3$c6629ba0$321ca8c0@injecteur> X-SW-Source: 2000-04/msg00022.html Hello,   I am using GNU tools to build an application from  windows NT for a powerPC target.   The ld version that i use is : cygnus-2.6  emulation used is elf32-powerpc I can do simple program that run correctly on the target, but I got some trouble with the Locate with builtion functions AT and LOADADDR.   I found that LOADADDR function is only available since version 2.8.   I have not already install version 2.8 (some trouble with NT), but my real problem is with the builtin function AT .   Doing that in ld script :   Ex :                 .mdata  DATA_START : AT (IMAGE_DATA_START)   In the generated file ELF, the VMA and the LMA (see in dump file) are the same and equal to DATA_START. AT instruction seems to have no effect.     I will be very pleased if someone could help me. Thank you. Vincent. -------------------------------------------- Vincent.Claverie@free.fr   Â