summaryrefslogtreecommitdiff
path: root/package/aboot/src/aboot.lds
blob: 415ab80e5310b15f2db9d89c5e5d20c51d1feedd (plain)
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
OUTPUT_FORMAT("elf64-alpha")
ENTRY(__start)
PHDRS { kernel PT_LOAD; }
SECTIONS
{
  . = 0x20000000;
  .text : { *(.text) } :kernel
  _etext = .;
  PROVIDE (etext = .);
  .rodata : { *(.rodata) } :kernel
  .data : { *(.data) } :kernel
  .got : { *(.got) } :kernel
  .sdata : { *(.sdata) } :kernel
  _edata = .;
  PROVIDE (edata = .);
  .sbss : { *(.sbss) *(.scommon) } :kernel
  .bss : { *(.bss) *(COMMON) } :kernel
  _end = . ;
  PROVIDE (end = .);

  /DISCARD/ : { *(.eh_frame) }

  .mdebug 0 : { *(.mdebug) }
  .note 0 : { *(.note) }
  .comment 0 : { *(.comment) }
}