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 15:48:24 +0000

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

Ali Bahrami <ali_swbugzilla at emvision dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ali_swbugzilla at emvision dot 
com

--- Comment #4 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
I don't know the bfd code, so please forgive a probably
off base comment...

This fix seems to be giving the section a pass based
on its section type being in the OS-specific range.
That would work, but is there a reason to not simply
translate any non-zero sh_link?

The Solaris strip always translates sh_link. It only
translates sh_info in a handful of cases that it specifically
knows are section indexes, and otherwise leaves it unaltered.
So far, this seems to have been OK (no complaints that I know
about), and is a bit more general.

In any event, thanks for this fix.

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