Skip to content

Commit

Permalink
Fix Android support
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jart committed Jul 1, 2024
1 parent 44191b3 commit 78d3b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape/aarch64.lds
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ OUTPUT_FORMAT("elf64-littleaarch64",

SECTIONS {

. = SEGMENT_START("text-segment", 0x010000000000);
. = SEGMENT_START("text-segment", 0x000800000000);
__executable_start = .;
. += SIZEOF_HEADERS;

Expand Down

0 comments on commit 78d3b86

Please sign in to comment.