From e559cf01834340d0a4dfcb45f7bdf081e8994032 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 2 Feb 2024 13:49:50 +0100 Subject: Kernel: Port toolchain to mingw (PE/COFF) Signed-off-by: Amlal El Mahrouss --- Private/Linker/Platforms/PC.lds | 51 ----------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 Private/Linker/Platforms/PC.lds (limited to 'Private/Linker') diff --git a/Private/Linker/Platforms/PC.lds b/Private/Linker/Platforms/PC.lds deleted file mode 100644 index 2340258e..00000000 --- a/Private/Linker/Platforms/PC.lds +++ /dev/null @@ -1,51 +0,0 @@ -OUTPUT_FORMAT("elf64-x86-64") - -ENTRY(Main) - -PHDRS { - null PT_NULL FLAGS(0) ; - text PT_LOAD FLAGS((1 << 0) | (1 << 2) | (1 << 3)); - rodata PT_LOAD FLAGS((1 << 2)) ; - data PT_LOAD FLAGS((1 << 1) | (1 << 2)) ; -} - -SECTIONS { - . = 8M; - - .text : { - *(.NewBoot) - *(.text .text.*) - } :text - - . += CONSTANT(MAXPAGESIZE); - - .init : { - __SYSTEM_INIT = .; - *(.initl) - __SYSTEM_FINI = .; - } - - __SYSTEM_INIT_END = .; - - . += CONSTANT(MAXPAGESIZE); - - .rodata : { - *(.rodata .rodata.*) - } :rodata - - . += CONSTANT(MAXPAGESIZE); - - .data : { - *(.data .data.*) - } :data - - . += CONSTANT(MAXPAGESIZE); - - .bss : { - *(COMMON) - *(.bss .bss.*) - } :data - - __SYSTEM_STACK_PTR = .; - __SYSTEM_STACK_END = . + 0x4000; -} -- cgit v1.2.3