aboutsummaryrefslogtreecommitdiff
path: root/zkvms/jolt/guest/guest.ld
blob: e4afb7b48a2551c9acebd6ed64ee796ca83de670 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
MEMORY {
  program (rwx) : ORIGIN = 0x80000000, LENGTH = 10485760
}

SECTIONS {
  .text.boot : {
    *(.text.boot)
  } > program

  .text : {
    *(.text)
  } > program

  .data : {
    *(.data)
  } > program

  .bss : {
    *(.bss)
  } > program

  . = ALIGN(8);
  . = . + 4096;
  _STACK_PTR = .;
  . = ALIGN(8);
  _HEAP_PTR = .;
}