]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ChangeLog-2015
Account for .tbss alignment when adjusting start of relro
authorAlan Modra <amodra@gmail.com>
Thu, 19 Nov 2015 04:30:13 +0000 (15:00 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Nov 2015 05:52:25 +0000 (16:22 +1030)
commitb39910205f54538f53e77b9ae13f1d41ff728f5a
treeb96e3067d69c9a79a85db68be717d3c9bc8b372a
parent62aa7be1959a8d1202ab2c4809d76147aadeeeab
Account for .tbss alignment when adjusting start of relro

Another option might be to not bump "dot" for .tbss alignment in the
main section sizing loop, but that could leak some of the following
section into the TLS segment.  Leakage shouldn't matter since it will
be to bytes past the end of .tdata, but for now this is a safer
option.

PR ld/19264
* ldlang.c (lang_size_sections): Don't ignore .tbss when
adjusting start of relro region.
ld/ChangeLog
ld/ldlang.c