riscv

an RV32I simulator and related experiments
git clone http://frotz.net/git/riscv.git
Log | Files | Refs | README

link.ld (320B)


      1 OUTPUT_ARCH( "riscv" )
      2 ENTRY(rvtest_entry_point)
      3 
      4 SECTIONS
      5 {
      6   . = 0x80000000;
      7   .text.init : { *(.text.init) }
      8   . = ALIGN(0x1000);
      9   .tohost : { *(.tohost) }
     10   . = ALIGN(0x1000);
     11   .text : { *(.text) }
     12   . = ALIGN(0x1000);
     13   .data : { *(.data) }
     14   .data.string : { *(.data.string)}
     15   .bss : { *(.bss) }
     16   _end = .;
     17 }
     18