summaryrefslogtreecommitdiff
path: root/lulua/data/winkbd/linker.ld
blob: e7d9669fb16ee9e4f40881c3b136c2ef7d27886b (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
27
28
29
30
31
32
33
34
35
36
/* taken from https://github.com/reactos/reactos/blob/893a3c9d030fd8b078cbd747eeefd3f6ce57e560/dll/keyboard/kbdlayout.lds */
SECTIONS
{
  .data __image_base__ + __section_alignment__ :
  {
    *(.data)
    *(SORT(.data*))
    *(.rdata)
    *(SORT(.rdata*))
    *(.text)
    *(SORT(.text*))
    *(.bss)
    *(COMMON)
  }

  .rsrc BLOCK(__section_alignment__) :
  {
    *(.rsrc)
    *(SORT(.rsrc*))
  }

  .reloc BLOCK(__section_alignment__) :
  {
    *(.reloc)
  }

  .edata BLOCK(__section_alignment__) :
  {
    *(.edata)
  }

  /DISCARD/ :
  {
    *(*)
  }
}