From e8c6577617bffa4402c07c7aa20e3c24f03c1c20 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 6 Sep 2020 00:48:07 -0400 Subject: program loading, others big kernel additions: paging, elf loading, separate kernel and user page allocation it now properly loads and runs sd0:bin/init.elf still need to determine which disk was booted from, and start the init on that disk --- src/user-elf.ld | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/user-elf.ld (limited to 'src/user-elf.ld') diff --git a/src/user-elf.ld b/src/user-elf.ld deleted file mode 100644 index 8b0c102..0000000 --- a/src/user-elf.ld +++ /dev/null @@ -1,26 +0,0 @@ -OUTPUT_FORMAT(elf32-i386) -OUTPUT_ARCH(i386) - -SECTIONS { - .ple_head : { - /*magic*/ LONG(0xb9ba4c50) - /*version*/ LONG(0x00000000) - /*payload offset*/ LONG(SIZEOF(.ple_head)) - /*payload length*/ LONG(__pl_length) - /*bss length*/ LONG(SIZEOF(.bss)) - /*entry point*/ LONG(_entry) - } - .text 0 : AT(SIZEOF(.ple_head)) { - *(.text) - } - .rodata : { - *(.rodata) - } - .data : { - *(.data) - __pl_length = .; - } - .bss ALIGN(0) : { - *(.bss) - } -} \ No newline at end of file -- cgit v1.2.3