Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Mark Hatle
On 10/12/18 9:06 AM, Kyle Russell wrote: > Do you want me to just resent my last two patches?  I don't mind if that would > be easier, and I'll remember to add the Signed-off-by. :) I was able to pull them from the mailing list archives and have them applied to my local tree. I have a few other

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Kyle Russell
Do you want me to just resent my last two patches? I don't mind if that would be easier, and I'll remember to add the Signed-off-by. :) On Fri, Oct 12, 2018 at 10:00 AM Mark Hatle wrote: > On 10/4/18 9:12 AM, Kyle Russell wrote: > > Hey Mark, > > > > Do you think this approach is reasonable?

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Mark Hatle
On 10/4/18 9:12 AM, Kyle Russell wrote: > Hey Mark, > > Do you think this approach is reasonable?  If so, I have another patch I'd > like > to propose that would enable us to better catch error scenarios (like the last > two patches address) that we might encounter during do_image_prelink.  We

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-04 Thread Kyle Russell
Hey Mark, Do you think this approach is reasonable? If so, I have another patch I'd like to propose that would enable us to better catch error scenarios (like the last two patches address) that we might encounter during do_image_prelink. We just happened to detect these last two issues even

[yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-09-28 Thread Kyle Russell
binutils-2.28 (17026142ef35b62ac88bfe517b4160614902cb28) adds support for copying read-only dynamic symbols into .data.rel.ro instead of .bss since .bss is technically writable. This causes prelink to error out on any binary containing COPY relocations in .data.rel.ro. Read-only variables