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: Thu, 28 Apr 2016 20:26:30 +0000

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

--- Comment #23 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
> Ali, Rainer. Thomas - please could you try out this version and let me know if
> you are happy with it.
>
> One thing that this patch does not do is zero the p_paddr fields of the 
> program
> headers for Solaris targets.  I did look at doing this, but it would a lot of
> hacking on very complicated, fragile code in the BFGD library.  Something that
> I think would be very likely to introduce new bugs.

Hi Nick,

   Rainer and I just compared notes, and we're happy with it.
These little breakages have been a chronic pain in the neck
for us, and it's going to be really helpful for us once we
pull in this patch. Thanks for all the work you put in to help
us with this.

For the record, I don't believe that Solaris ever sets
p_paddr, or looks at it, so the fix for this could probably
be as simple as "if (solaris) phdr->p_paddr = 0". On the
other hand, it's purely cosmetic. The values you're writing
there seem to correspond to something sensible (same as
p_vaddr), and there's really no reason to put any extra
work into it. Leave it alone.

Thanks again...

- Ali

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