summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.c
AgeCommit message (Collapse)Author
2023-02-23toolchain: update, move to a Camellia-specific toolchaindzwdz
2023-01-25style: typedef structs, shorter namespacesdzwdz
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing.
2023-01-25user: process titles, /bin/psdzwdz
2022-12-27libc/elfload: don't override cwddzwdz
2022-10-19shared/printf: implement %pdzwdz
2022-10-19user/libc: BSD err.h, getprogname()dzwdz
2022-10-18user/libc: rework exec(), use a C _start2dzwdz
2022-09-02user/ports: bare minimum to run doomgenericdzwdz
2022-08-27user/elfload: fix argv corruption when it's passed from the stackdzwdz
2022-08-26user/libc: prepare for OpenED portdzwdz
2022-08-09user/libc: preserve cwd through exec()dzwdz
2022-08-05user/libc: fseek + ftell for getting a file's sizedzwdz
2022-07-29syscall: up the max argument count to 5; make write accept flagsdzwdz
2022-07-27user/exec: shebang supportdzwdz
2022-07-27user/libc: execve() supports passing argv nowdzwdz
2022-07-27user/libc: fseek()dzwdz
2022-07-26user/libc: make FILE an opaque typedzwdz
2022-07-26user/libc: fread, fwrite, fclosedzwdz
2022-07-26user: posix-compatible FILE* openingdzwdz
2022-07-26user: move the POSIX-y stuff to the proper header filesdzwdz
2022-07-26shared: move some headers from shared/ to camellia/dzwdz
2022-07-23user_bootstrap: pass the initrd in an argument to init's maindzwdz
2022-07-23init: compile as an elfdzwdz
2022-07-20user/elf: free memory not belonging to the elf when jumping to itdzwdz
2022-07-20syscall/execbuf: EXECBUF_JMPdzwdz
2022-07-18user/elf: find free space for PIEsdzwdz
2022-07-18user: basic elf relocations, PIE supportdzwdz
2022-07-18user: a super primitive ELF loaderdzwdz
holy shit. this was simpler than i expected it to be