bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYN


From: ali_swbugzilla at emvision dot com
Subject: [Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections
Date: Mon, 11 Apr 2016 16:34:54 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]