Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lld: allow for entrypoint symbol name to be set #10475

Merged
merged 2 commits into from Jan 19, 2022
Merged

Conversation

lithdew
Copy link
Contributor

@lithdew lithdew commented Dec 31, 2021

This commit enables for the entrypoint symbol to be set when linking ELF or WebAssembly modules with lld using the Zig compiler.

lithdew and others added 2 commits January 19, 2022 11:22
This commit enables for the entrypoint symbol to be set when linking ELF
or WebAssembly modules with lld using the Zig compiler.
 * rename `entry` to `entry_symbol_name` for the zig build API
 * integrate with `zig cc` command line options
 * integrate with COFF linking with LLD
 * integrate with self-hosted ELF linker
 * don't put it in the hash for MachO since it is ignored
@andrewrk andrewrk merged commit 4e8fedf into ziglang:master Jan 19, 2022
andrewrk added a commit that referenced this pull request Feb 3, 2022
lld: allow for entrypoint symbol name to be set
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.

None yet

2 participants