cosmopolitan/ape
Justine Tunney 40eb3b9d5d
Fully support OpenBSD 7.3
This change (1) upgrades to OpenBSD's newer kernel ABIs, and (2)
modifies APE to have a read-only data segment. Doing this required
creating APE Loader v1.1, which is backwards and forwards compatible
with the previous version.

If you've run the following commands in the past to install your APE
Loader systemwide, then you need to run them again. Ad-hoc installations
shouldn't be impacted. It's also recommended that APE binaries be remade
after upgrading, since they embed old versions of the APE Loader.

    ape/apeuninstall.sh
    ape/apeinstall.sh

This change does more than just fix OpenBSD. The new loader is smarter
and more reliable. We're now able create much tinier ELF and Mach-O data
structures than we could before. Both APE Loader and execvpe() will now
normalize ambiguous argv[0] resolution the same way as the UNIX shell.
Badness with TLS linkage has been solved.

Fixes #826
2023-07-01 18:14:27 -07:00
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
ape-m1.c Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
ape.mk Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
ape.S Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
apeinstall.sh Introduce new jartsr=' ape prefix 2022-11-10 21:18:32 -08:00
apeuninstall.sh Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
blink-linux-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
blink-xnu-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
idata.internal.h Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
loader-elf.S Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
loader-macho.S Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
loader.c Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
loader.lds Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
macros.internal.h [metal] Fix bug: do not initialize IDT & TSS if unneeded (#654) 2022-10-10 20:54:46 -07:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Optimize memory layout 2022-09-12 04:26:52 -07:00
sections.internal.h Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00