Skip to content

Fix macOS linking + argv#40

Merged
MESYETI merged 2 commits intocallisto-lang:mainfrom
soxfox42:fix_args
May 21, 2025
Merged

Fix macOS linking + argv#40
MESYETI merged 2 commits intocallisto-lang:mainfrom
soxfox42:fix_args

Conversation

@soxfox42
Copy link
Copy Markdown
Contributor

@soxfox42 soxfox42 commented May 16, 2025

Moving array data to .rodata means I can throw away some linker arguments that were used to work around position-independence issues. Also this is the logical place for it IMO.

Also now the executable will run the libSystem startup code that manages argv.

You'll probably want to test that the .rodata change is fine on x86_64 Linux, I was too lazy 😆

update: s/rodata/data

@MESYETI MESYETI merged commit 892c9b5 into callisto-lang:main May 21, 2025
3 checks passed
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.

2 participants