diff options
Diffstat (limited to 'lulua/data/winkbd/linker.ld')
-rw-r--r-- | lulua/data/winkbd/linker.ld | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lulua/data/winkbd/linker.ld b/lulua/data/winkbd/linker.ld new file mode 100644 index 0000000..e7d9669 --- /dev/null +++ b/lulua/data/winkbd/linker.ld @@ -0,0 +1,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/ : + { + *(*) + } +} |