summaryrefslogtreecommitdiff
path: root/src/kernel/link.ld
blob: 1fc64fd6c1a5cd5da4b3fb02f11ed22978afadc0 (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)
  }
  /DISCARD/ : {
    *(.bss)
  }
}