litex/software/libbase/linker-sdram.ld

65 lines
911 B
Plaintext
Raw Normal View History

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