Created by: heyitsanthony
Good morning dynamo devs.
This PR adds support for running a "hello world" program (printf and read()) on my M1 macbook. It is by no means perfect but it's enough of a first cut that it can be refined / stabilized for more cases. My apologies for the large-ish first time contributor patch set.
Most of the changes in this PR are related to:
- macos aarch64 TLS
- untangling macos64 = x86 / aarch64 = linux assumptions
- macho symbols / minor assembler differences
- MacOS's MAP_JIT flag
- v8.3 PAC pointers / arm64e
Rough edges:
- segfaults on heap cleanup when exiting in debug builds (release builds are OK)
- returning from signals not seriously attempted