mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Mint APE Loader v1.3
This version has better error messages and safety checks. It supports loading static position-independent executables. It correctly handles more kinds of weird ELF program header layouts. A force flag has been added to avoid system execve(). Finally the longstanding misalignment with our ELF PT_NOTE section has been addressed.
This commit is contained in:
parent
82b1e61443
commit
3d172c99fe
19 changed files with 1001 additions and 470 deletions
Binary file not shown.
Binary file not shown.
BIN
build/bootstrap/objbincopy.com
Executable file
BIN
build/bootstrap/objbincopy.com
Executable file
Binary file not shown.
|
@ -83,7 +83,7 @@ COMMA := ,
|
|||
PWD := $(shell build/bootstrap/pwd.com)
|
||||
|
||||
IGNORE := $(shell $(ECHO) -2 ♥cosmo)
|
||||
IGNORE := $(shell $(MKDIR) o/tmp)
|
||||
IGNORE := $(shell $(MKDIR) $(TMPDIR))
|
||||
|
||||
ifneq ($(findstring aarch64,$(MODE)),)
|
||||
ARCH = aarch64
|
||||
|
@ -237,6 +237,7 @@ DEFAULT_ASFLAGS = \
|
|||
DEFAULT_LDFLAGS = \
|
||||
-static \
|
||||
-nostdlib \
|
||||
-znorelro \
|
||||
--gc-sections \
|
||||
--build-id=none \
|
||||
--no-dynamic-linker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue