2009-08-28 00:07:35 +08:00
|
|
|
INCLUDE ../common/ldscript.common
|
|
|
|
|
2009-06-29 21:26:35 +08:00
|
|
|
ENTRY(Vector)
|
2009-04-09 14:43:20 +08:00
|
|
|
SECTIONS
|
|
|
|
{
|
2009-08-29 14:14:28 +08:00
|
|
|
.fpgaimage : {
|
2009-08-28 07:29:49 +08:00
|
|
|
*(fpga_bit.data)
|
|
|
|
} >fpgaimage
|
|
|
|
.start : { *(.startos) } >osimage
|
2009-08-28 00:07:35 +08:00
|
|
|
.text : {
|
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
2009-09-07 17:53:45 +08:00
|
|
|
*(.eh_frame)
|
2009-08-28 00:07:35 +08:00
|
|
|
*(.glue_7)
|
|
|
|
*(.glue_7t)
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata*)
|
2009-09-08 23:40:22 +08:00
|
|
|
*(.version_information)
|
2009-08-28 00:07:35 +08:00
|
|
|
} >osimage
|
2009-09-08 23:40:22 +08:00
|
|
|
__end_of_text__ = .;
|
|
|
|
|
|
|
|
.data : {
|
|
|
|
__data_start__ = .;
|
|
|
|
__data_src_start__ = __end_of_text__;
|
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
__data_end__ = .;
|
|
|
|
} >ram AT>osimage
|
|
|
|
|
|
|
|
.bss : {
|
|
|
|
__bss_start__ = .;
|
|
|
|
*(.bss)
|
|
|
|
*(.bss.*)
|
|
|
|
} >ram
|
|
|
|
. = ALIGN(32 / 8);
|
2009-04-09 14:43:20 +08:00
|
|
|
__bss_end__ = .;
|
2009-09-01 22:44:38 +08:00
|
|
|
|
|
|
|
.commonarea (NOLOAD) : {
|
|
|
|
*(.commonarea)
|
|
|
|
} >commonarea
|
2009-04-09 14:43:20 +08:00
|
|
|
}
|