tinyriscv/tests/random_instruction/link.ld

15 lines
259 B
Plaintext
Raw Normal View History

OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS
{
. = 0x00000000;
.text.init : { *(.text.init) }
/*.tohost ALIGN(0x1000) : { *(.tohost) }*/
/*.text ALIGN(0x1000) : { *(.text) }*/
.data ALIGN(0x1000) : { *(.data) }
.bss : { *(.bss) }
_end = .;
}