]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352032: loader: --gc-sections needs sections to work with
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:27:52 +0000 (03:27 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:27:52 +0000 (03:27 +0000)
commit57f14c8b144b79406775497d947cdb3250abcf7f
treec8d607df8a5207e6b09dc7b89b855513f6e43e96
parente0a260f02c688497ea9cca8c7b04fa7d94a6d3cd
MFC r352032: loader: --gc-sections needs sections to work with

--gc-sections is not really useful unless we generate sections with
-ffunction-sections -fdata-sections

While there, i386/loader would win from --gc-sections too.
stand/defs.mk
stand/i386/loader/Makefile