Skip to content

release: sweep dev → main (v0.16.1)#323

Merged
octalide merged 4 commits into
mainfrom
dev
Jun 28, 2026
Merged

release: sweep dev → main (v0.16.1)#323
octalide merged 4 commits into
mainfrom
dev

Conversation

@octalide

Copy link
Copy Markdown
Collaborator

Integration sweep of devmain for v0.16.1. No-fast-forward merge to preserve branching history.

Contents

Notes

octalide and others added 4 commits June 28, 2026 17:25
the aarch64 darwin _start was written in standard ARM syntax that mach's
inline-asm dialect rejects, so darwin-aarch64 could not link: '#'-prefixed
immediates (mach treats '#' as the comment char, stripped at lower time, so
'add x1, sp, #8' became 'add x1, sp,'), a 4-operand shifted-register add
'add x2, x1, x2, lsl #3', and a bitmask-immediate 'and sp, sp, #-16'.

mirror the CI-tested linux aarch64 _start instruction-form style — bare
immediates, an explicit lsl+add for the envp scale, and no explicit stack
realignment (sp is 16-byte aligned on arm64 kernel entry) — while preserving
the darwin semantics: entry symbol 'start', the _rt_argc/_rt_argv/_rt_envp
capture, _rt_init then main, and the darwin 'svc 0x80' exit.

closes #320
fix(runtime/darwin): rewrite aarch64 _start in mach's inline-asm dialect
@octalide octalide merged commit 2a765f7 into main Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant