quasar/testbench/asm/hello_world_iccm.ld

14 lines
281 B
Plaintext
Raw Permalink Normal View History

2021-03-03 14:35:11 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS {
.text : { *(.text*) }
. = 0x10000;
.data : { *(.*data) *(.rodata*)}
. = ALIGN(4);
printf_start = .;
. = 0xee000000;
.data_load : AT(printf_start) {*(.data_text)}
printf_end = printf_start + SIZEOF(.data_load);
}