diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-10-07 22:40:10 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-10-07 22:40:10 +0200 |
commit | ea6526c444028ad8293593476f31f88c7e693745 (patch) | |
tree | d90c54572410b9902207de9e61101611d86ba689 /kern/exception.c | |
parent | e8f87dc5ac86ed6c42119cf40f8fc30171bb7248 (diff) | |
download | gnumach-ea6526c444028ad8293593476f31f88c7e693745.tar.gz gnumach-ea6526c444028ad8293593476f31f88c7e693745.tar.bz2 gnumach-ea6526c444028ad8293593476f31f88c7e693745.zip |
elf-load: Avoid loading PIE binaries at address 0
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.
Diffstat (limited to 'kern/exception.c')
0 files changed, 0 insertions, 0 deletions