diff options
author | Benji Dial <benji6283@gmail.com> | 2020-09-06 00:48:07 -0400 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2020-09-06 00:48:07 -0400 |
commit | e8c6577617bffa4402c07c7aa20e3c24f03c1c20 (patch) | |
tree | 2fb9230b62d2344a44453117de9e656892219788 /src/user-elf.ld | |
parent | 7ff724fe8f709440da9c730fdb8dcbaa4f989ed5 (diff) | |
download | portland-os-e8c6577617bffa4402c07c7aa20e3c24f03c1c20.tar.gz |
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
Diffstat (limited to 'src/user-elf.ld')
-rw-r--r-- | src/user-elf.ld | 26 |
1 files changed, 0 insertions, 26 deletions
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 |