summaryrefslogtreecommitdiff
path: root/src/kernel/link.ld
blob: 7c7b28df4a6cea7b42e9faa1be84814b176e3a18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)

SECTIONS {
  . = 0x00030000;
  .entry : {
    */main.o(.text)
  }
  .bin : {
    *(.text)
    *(.rodata)
    *(.data)
  }
  .bss : {
    *(.bss)
  }
}