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: thopre01 at gcc dot gnu.org
Subject: [Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections
Date: Wed, 27 Apr 2016 11:02:37 +0000

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

--- Comment #20 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Nick Clifton from comment #18)
> Created attachment 9221 [details]
> Proposed extra patch
> 
> Hi Thomas,
> 
>   Ah - this is exactly the kind of situation that I thought might happen,
> and the
>   reason why I created the new backend function.
> 
>   Please try out this revised patch which I hope will fix the problem.  (For
> the
>   ARM that is, this patch does not address the ABI and p_addr problems that
> still
>   exist with Solaris targets).

It does in this case but I'm not a big fan of the approach. Why cannot we have
a mapping table from input to output asection and use it instead of doing a
loop over the output section to find one that looks like a given input section?
That would alleviate the need for the strings and should be more robust.

Best regards,

Thomas

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