Skip to content

Conversation

@ghaith
Copy link
Collaborator

@ghaith ghaith commented Oct 30, 2025

Add the llvm.used global array to the modules so that constructor functions no longer get optimized out.
This solves the arm init problem and no longer requires us to maintain linker scripts
As a result, the --no-linker-script flag does nothing anymore, and the default behaviour is to not force a default script.

@ghaith ghaith force-pushed the fix_arm_constructors branch 2 times, most recently from 5780d44 to 8c29807 Compare November 13, 2025 09:30
@ghaith ghaith force-pushed the fix_arm_constructors branch from 18437fb to 750d3e5 Compare November 19, 2025 13:15
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