Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
vms different from lma
Hi,
How can I specify VMA different from LMA for all sections of an executable in a
ldscript ?
For Ex.I want VMA start = 0xff030000; LMA start = 0x50000;
Suppose I have a linker script like this:
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
"elf32-powerpc")
OUTPUT_ARCH(powerpc:common)
ENTRY(_start)
SECTIONS
{
.init :
{
KEEP (*(.init))
}
.text :
{
*(.text)
}
.fini :
{
*(.fini)
}
.rodata :
{
*(.rodata)
}
.data :
{
*(.data)
}
_edata = .;
.bss :
{
*(.bss)
}
_end = .;
}
Thanks,
Srini.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
Home |
Main Index |
Thread Index |
Old Index