-
Notifications
You must be signed in to change notification settings - Fork 26
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
Weak linkage support #60
Comments
cc bjorn3/rustc_codegen_cranelift#146 |
My plan is to change the Based on my reading of goblin's mach code, it appears there is a flag to mark exports as weak definitions, so this scheme should be supportable with mach (https://github.com/m4b/goblin/blob/master/src/mach/exports.rs#L25). I'd love if someone could point me to reference materials on the mach file format. Unfortunately, I don't have access to a machine running Mac OS to test this, but I could probably convince my employer to send me a retired macbook. |
This is needed for libstd:
https://github.com/rust-lang/rust/blob/1a51bb8174e97251a37fcd83ff8750b7773e762a/src/libstd/sys/unix/fast_thread_local.rs#L22
The text was updated successfully, but these errors were encountered: