svn commit: r328101 - in head: stand/common sys/kern
Ed Maste
emaste at freebsd.org
Wed Jan 17 23:47:39 UTC 2018
On 17 January 2018 at 17:52, John Baldwin <jhb at freebsd.org> wrote:
> Author: jhb
> Date: Wed Jan 17 22:51:59 2018
> New Revision: 328101
> URL: https://svnweb.freebsd.org/changeset/base/328101
>
> Log:
> Require the SHF_ALLOC flag for program sections from kernel object modules.
>
> The lld linker
> does not sort the sections in ELF object files and mixed allocated and
> unallocated sections.
Note that this applies only to the output of lld -r - i.e., producing
relocatable (.o) output. As the output of ld -r is normally expected
to be input to a future link invocation lld largely leaves the
contents as found in the input files, including section ordering.
More information about the svn-src-head
mailing list