| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
If a bootstrap ELF contains a PT_GNU_STACK phdr, take stack protection
from there. Otherwise, default to VM_PROT_ALL.
|
|
|
|
|
| |
Not only on x86_64.
Message-ID: <20240327161841.95685-5-bugaevc@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Apparently the ELF world changed their mind on the naming of integers,
let's get coherent with it.
Elf64_Quarter (16b) disappeared, replaced by Elf64_Half (now 16b instead of
Elf64_32b). And previous Elf64_Half (16b) thus now need to be Elf64_Word
(16b).
|
|
|
|
|
|
|
|
|
| |
* i386/include/mach/i386/exec/elf.h: add Elf64 definitions and define
common Elf structures, corresponding to 32/64 bit variants at
compile time.
* include/mach/exec/elf.h: add Elf64 definitions
* kern/elf-load.c: use common Elf structures
Message-Id: <20230216213318.2048699-2-luca@orpolo.org>
|
|
|