[PATCH] ld: Rewrite lang_size_relro_segment_1
Alan Modra
amodra@gmail.com
Mon Jan 17 04:08:13 GMT 2022
On Fri, Jan 14, 2022 at 01:55:27PM -0800, H.J. Lu wrote:
> Now I have time to rewrite lang_size_relro_segment_1. Is it OK for
> master?
No, I don't believe you can calculate the adjustment for the first
relro section without paintakingly working backwards from the last
section taking into account each section's alignment. See commit
0e5fabeb2c4b and b39910205f54.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list