2014-05-14 04:24:56 -04:00
|
|
|
INCLUDE generated/output_format.ld
|
2013-03-21 05:42:31 -04:00
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
__DYNAMIC = 0;
|
|
|
|
|
2013-11-24 13:50:17 -05:00
|
|
|
INCLUDE generated/regions.ld
|
2013-03-21 05:42:31 -04:00
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
_ftext = .;
|
|
|
|
*(.text .stub .text.* .gnu.linkonce.t.*)
|
|
|
|
_etext = .;
|
|
|
|
} > sdram
|
|
|
|
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
_frodata = .;
|
|
|
|
*(.rodata .rodata.* .gnu.linkonce.r.*)
|
|
|
|
*(.rodata1)
|
|
|
|
_erodata = .;
|
|
|
|
} > sdram
|
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
_fdata = .;
|
|
|
|
*(.data .data.* .gnu.linkonce.d.*)
|
|
|
|
*(.data1)
|
|
|
|
_gp = ALIGN(16);
|
|
|
|
*(.sdata .sdata.* .gnu.linkonce.s.*)
|
|
|
|
_edata = .;
|
|
|
|
} > sdram
|
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
_fbss = .;
|
|
|
|
*(.dynsbss)
|
|
|
|
*(.sbss .sbss.* .gnu.linkonce.sb.*)
|
|
|
|
*(.scommon)
|
|
|
|
*(.dynbss)
|
|
|
|
*(.bss .bss.* .gnu.linkonce.b.*)
|
|
|
|
*(COMMON)
|
|
|
|
. = ALIGN(4);
|
|
|
|
_ebss = .;
|
|
|
|
. = ALIGN(8);
|
|
|
|
_heapstart = .;
|
|
|
|
} > sdram
|
|
|
|
}
|
|
|
|
|
|
|
|
PROVIDE(_fstack = ORIGIN(sdram) + LENGTH(sdram) - 4);
|