aboutsummaryrefslogtreecommitdiff
path: root/arch_test_target/spike/link.ld
blob: 8ad95e049bedb9b8c3619ed3608028828425628a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
OUTPUT_ARCH( "riscv" )
ENTRY(rvtest_entry_point)

SECTIONS
{
  . = 0x80000000;
  .text.init : { *(.text.init) }
  . = ALIGN(0x1000);
  .tohost : { *(.tohost) }
  . = ALIGN(0x1000);
  .text : { *(.text) }
  . = ALIGN(0x1000);
  .data : { *(.data) }
  .data.string : { *(.data.string)}
  .bss : { *(.bss) }
  _end = .;
}