http://sourceware.org/bugzilla/show_bug.cgi?id=16515
Bug ID: 16515 Summary: objcopy cannot weaken undefined symbols Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: srk31 at srcf dot ucam.org Created attachment 7379 --> http://sourceware.org/bugzilla/attachment.cgi?id=7379&action=edit Patch to fix the bug It is meaningful to weaken an undefined symbol. Currently objcopy silently omits to do this when asked. The attached patch fixes this for me. (Note that by contrast, localizing and globalizing -- which are done immediately after weakening in the code -- are, I think, only meaningful for defined symbols. Perhaps this explains why the weakening code doesn't handle the undefined case.) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils