
25 May
2021
25 May
'21
2:57 a.m.
On Thu, May 20, 2021 at 01:24:24PM +0200, Marek Behún wrote:
When using LTO, we can throw away the --gc-sections flag, but only if using private libgcc.
When using system's libgcc, --gc-sections is still needed, otherwise linking will fail due to undefined references to libc's symbols.
Signed-off-by: Marek Behún marek.behun@nic.cz Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom