This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help about link script


Hi, guys

I used AT in my link script to make different VMA(virtual address) and LMA( load address), like this:

.data 0x6000 : AT (ADDR (.text) + SIZEOF (.text) )
{
    ......
    *(.data);
    ......
}

But the result is my .data section is in its LMA, while when run time no program copies them to VMA. So need I copy them to VMA by myself? Or have another way to solve it?  
Thanks in advance!
	

Best regards,			

Martin Bian
martin@utstar.com
2003-01-09



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]