-
Notifications
You must be signed in to change notification settings - Fork 14.4k
[objcopy] Implement --weaken, --weaken-symbol(s) flags for MachO Object Files #70560
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
[objcopy] Implement --weaken, --weaken-symbol(s) flags for MachO Object Files #70560
Conversation
125fdd4
to
9456cd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for reviewing! I don't have write access- can you merge this for me? |
Let's address @MaskRay's comments - then i'm happy to merge it in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections from me. Happy for this to be merged once @MaskRay's comments (and my nit) have been addressed.
9456cd8
to
92b0389
Compare
I think I've addressed everything now-- feel free to leave extra comments, though! Thanks everyone for the help! |
In a recent legacy codebase I found an invocation of GNU
objconv
used to weaken symbols of MachO object files. I tried to replaceobjconv
with the corresponding invocation ofllvm-objcopy
and found--weaken
(and friends) weren't implemented for MachO.This PR implements those weakening flags for MachO file types.