On 17 January 2018 at 17:52, John Baldwin <j...@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. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"