https://sourceware.org/bugzilla/show_bug.cgi?id=19938

--- Comment #8 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
My understand of sh_link and sh_info is the same as
what Cary outlined above, with one comment. We've seen
cases were sh_info should have been treated as a section
index, where SHF_INFO_LINK was not set. This is wrong,
but we still do have some code that "knows" what sh_info
contains without regard for SHF_INFO_LINK, just to
work around that.

I'd be content for objcopy/strip to follow the rule
Cary outlined though --- if we're not setting SHF_INFO_LINK
properly, that's a bug we can deal with ourselves (and I
think we're OK in that regard).

-- 
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

Reply via email to