1 2 3 4 5 6 7 8 9 10 11 12
OUTPUT_ARCH( "riscv" ) SECTIONS { . = 0; .text.init : { *(.text.init) } .text : { *(.text) } .data ALIGN(0x1000) : { *(.data) } .bss : { *(.bss) } _end = .; }