URL
https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk
Subversion Repositories riscv_vhdl
[/] [riscv_vhdl/] [trunk/] [examples/] [helloworld/] [makefiles/] [app.ld] - Rev 5
Compare with Previous | Blame | View Log
OUTPUT_ARCH( "riscv" )
/*----------------------------------------------------------------------*/
/* Sections */
/*----------------------------------------------------------------------*/
SECTIONS
{
/* text: test code section */
. = 0x10000000;
.text :
{
../../helloworld/makefiles/obj/main.o (.text.startup)
*(.text)
}
/* data segment */
.data : { *(.data) }
.sdata : {
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
}
/* bss segment */
.sbss : {
*(.sbss .sbss.* .gnu.linkonce.sb.*)
*(.scommon)
}
.bss : { *(.bss) }
/* thread-local data segment */
.tdata :
{
*(.tdata)
}
.tbss :
{
*(.tbss)
}
/* End of uninitalized data segement */
_end = .;
}