[PATCH] kbuild: drop duplicate CONFIG_LD_DEAD_CODE_DATA_ELIMINATION block
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 24 05:14:44 PDT 2026
On Mon, 24 Aug 2026 09:28:21 +0200, Ahmad Fatoum wrote:
> Commit 48d0d0cc28ed ("kbuild: sync with Linux v6.17") carried over an
> upstream hunk that sets up section garbage collection a second time,
> so we have the hunk being deleted here in addition to:
>
> ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
> KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections
> LDFLAGS_barebox += --gc-sections
> LDFLAGS_pbl += --gc-sections
> endif
>
> [...]
Applied, thanks!
[1/1] kbuild: drop duplicate CONFIG_LD_DEAD_CODE_DATA_ELIMINATION block
https://git.pengutronix.de/cgit/barebox/commit/?id=1efcd5a48848 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list