diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-09-13 12:47:51 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-09-13 14:00:31 +0200 |
commit | 1b6e5b491ae717eb096a7d4a68df9f772de577ae (patch) | |
tree | 832f5e22ec4a402989b63cea3b5cf51698b540a8 /lulua/data/winkbd/linker.ld | |
parent | 33ba6ccff34c76d5156b9b9cff18463eb8e269c8 (diff) | |
download | lulua-1b6e5b491ae717eb096a7d4a68df9f772de577ae.tar.gz lulua-1b6e5b491ae717eb096a7d4a68df9f772de577ae.tar.bz2 lulua-1b6e5b491ae717eb096a7d4a68df9f772de577ae.zip |
winkbd: Make Windows driver compileable with MingGW
Automate the process via GitHub Actions as well. kbd.h can be
simplified.
Fixes #11.
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/ : + { + *(*) + } +} |