Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 18:47:17 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r328101 - in head: stand/common sys/kern
Message-ID:  <CAPyFy2AdqkBDkt6K8VwArYuRmwuGBEDcv47TOqu4-Ovf8aGwvw@mail.gmail.com>
In-Reply-To: <201801172252.w0HMq02l024443@repo.freebsd.org>
References:  <201801172252.w0HMq02l024443@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 January 2018 at 17:52, John Baldwin <jhb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2AdqkBDkt6K8VwArYuRmwuGBEDcv47TOqu4-Ovf8aGwvw>