diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 13:49:50 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 13:49:50 +0100 |
| commit | e559cf01834340d0a4dfcb45f7bdf081e8994032 (patch) | |
| tree | b7d1aa03111f83c0b7b058dca2786a6bd234a7e3 /Private/Linker | |
| parent | 05eca8d3061b60eac0a652a4b1e39269a9af79e8 (diff) | |
Kernel: Port toolchain to mingw (PE/COFF)
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Linker')
| -rw-r--r-- | Private/Linker/Platforms/PC.lds | 51 |
1 files changed, 0 insertions, 51 deletions
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; -} |
