/*======================================================================*/ /* Proxy kernel linker script */ /*======================================================================*/ /* This is the linker script used when building the proxy kernel. */ /*----------------------------------------------------------------------*/ /* Setup */ /*----------------------------------------------------------------------*/ /* The OUTPUT_ARCH command specifies the machine architecture where the argument is one of the names used in the BFD library. More specifically one of the entires in bfd/cpu-mips.c */ OUTPUT_ARCH( "riscv" ) /*----------------------------------------------------------------------*/ /* Sections */ /*----------------------------------------------------------------------*/ SECTIONS { /* text: test code section */ . = 0; .text : { crt.o(.text) *(.text) } /* data segmemt */ .data : { *(.data) } .bss : { *(.bss) } /* thread-local data segment */ .tdata : { _tls_data = .; crt.o(.tdata.begin) *(.tdata) crt.o(.tdata.end) } .tbss : { *(.tbss) crt.o(.tbss.end) } /* End of uninitalized data segement */ _end = .; }