[Top][All Lists]

[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: nickc at redhat dot com
Subject: [Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections
Date: Wed, 13 Apr 2016 16:10:02 +0000


Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
   Attachment #9181|0                           |1
        is obsolete|                            |

--- Comment #11 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 9189
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9189&action=edit
Revised patch

Hi Guys,

  Right, here is a third version of the patch.  This revision adds a fix for
  setting the SHF_STRINGS bit in the flags of the .strtab and .shstrtab
  (for Solaris only.  For other OSes the flags are left alone).

  It also adds a framework for allowing individual backends to set the sh_info
  and sh_link fields of special sections.  Dummy implementations are provided
  for Solaris targets, although with this version of the patch these functions
  do not actually do anything.

  I think that this version of the patch is sufficient for now.  It needs 
  someone with more experience of Solaris than me to actually implement the 
  target specific info/link function, and the current generic code does a 
  sufficiently good job to allow an objcopy'ed executable to still work.

  Any comments ?


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]