help about link script

Martin Bian martin@utstar.com
Thu Jan 9 03:00:00 GMT 2003


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




More information about the Binutils mailing list