aboutsummaryrefslogtreecommitdiff
path: root/kern/elf-load.c
Commit message (Collapse)AuthorAgeFilesLines
* elf-load: Avoid loading PIE binaries at address 0Samuel Thibault2020-10-071-2/+9
| | | | | | | It seems that ld.so sometimes gets into troubles and hangs at bootstrap. * kern/elf-load.c (exec_load): When x.e_type == ET_DYN || x.e_type == ET_REL, add 128MiB as loadbase.
* kern: fix the error handling in exec_loadJustus Winter2013-11-111-0/+2
| | | | | | Found using the Clang Static Analyzer. * kern/elf-load.c (exec_load): Properly propagate errors.
* Initial sourceThomas Bushnell1997-02-251-0/+88