Fix Android support

Thanks to @aj47 (techfren.net) the new Cosmo memory manager is confirmed
to be working on Android!! The only issue turned out to be forgetting to
update the program address in the linker script. We now know w/ absolute
certainty that APE binaries as complex as llamafile, now work correctly.
This commit is contained in:
Justine Tunney 2024-07-01 01:06:47 -07:00
parent 44191b3f50
commit 78d3b86ec7
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -12,7 +12,7 @@ OUTPUT_FORMAT("elf64-littleaarch64",
SECTIONS {
. = SEGMENT_START("text-segment", 0x010000000000);
. = SEGMENT_START("text-segment", 0x000800000000);
__executable_start = .;
. += SIZEOF_HEADERS;