Date: Thu, 20 Aug 2020 14:23:34 -0500 From: "Brandon Bergren" <bdragon@FreeBSD.org> To: "Dimitry Andric" <dim@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r364435 - head/usr.sbin/kldxref Message-ID: <c080a57a-103c-49ad-946a-b3b4a72b3b33@www.fastmail.com> In-Reply-To: <202008201850.07KIokXB063333@repo.freebsd.org> References: <202008201850.07KIokXB063333@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Note that we may still do some tweaking of our kernel linker scripts, to > lower the number of segments, although the exact benefit is not entirely > clear. > No real benefit, except for when using loading via sources other than loader(8). If any platforms other than powerpc64 need this, they can get full control over the image generation with the PHDRS directive like we do there. IIRC there are benefits to *having* more segments on i386/amd64 as it makes link_elf_protect() more effective in some cases. -- Brandon Bergren bdragon@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c080a57a-103c-49ad-946a-b3b4a72b3b33>