2.30 Branch Planned for Friday...
Thu Jan 11 17:27:00 GMT 2018
On Thu, Jan 11, 2018 at 9:07 AM, Nick Clifton <email@example.com> wrote:
> Hi H.J.
>> I'd like to fix:
> Ha! Great minds think alike. :-)
> I have just posted a very similar patch to the PR, although I
> think that we do not need any special case code for the PRE_INIT_ARRAY
> section as that is handled by a KEEP directive in the linker script.
> Hmm - unless there can be PREINIT_ARRAY sections whose name is not
> .preinit_array. Which I suppose is possible...
Exactly. Linker script for ld -r has:
.preinit_array 0 :
It doesn't cover
in my testcase in my patch.
> Would you mind extending your patch to include this scenario ?
> I think that with that change in place I would be happy to approve it.
My patch does cover that with a testcase :-).
More information about the Binutils