[committed, PATCH] Properly convert objects between different ELF classes
Andrew Stubbs
ams@codesourcery.com
Fri Sep 25 12:18:00 GMT 2015
On 25/09/15 00:44, Alan Modra wrote:
> OK. The testsuite addition is OK too after building and testing a
> good selection of targets, and xfailing the inevitable breakage. I
> use these:
After double-checking, I've discovered that I've misunderstood the code,
and the input section's size is not updated by the conversion process
(the conversion appears to affect local data only), so the patch would
be broken for compressed data.
This patch should solve my problem without creating a new one.
As for the testcase, after tweaking the pad amount, it only fails on 6
of the targets Alan listed, for which I've added xfails. I presume
they're doing some conversion on the input section size such that the
data size *should* be the output size (valgrind shows no issues).
OK?
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sb-5811.patch
Type: text/x-patch
Size: 5116 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150925/2e8d62b2/attachment.bin>
More information about the Binutils
mailing list