diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-05-20 14:24:24 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-24 21:21:30 +0300 |
commit | 34ccadcd3334d695806acb84e4d4e5f4ef322e9e (patch) | |
tree | 0c9c960d22440e952ab627489619b445ec2e34c4 /configs | |
parent | 75c7d10c1f61ff509bcbe00284b7424b55c9ed92 (diff) | |
download | u-boot-34ccadcd3334d695806acb84e4d4e5f4ef322e9e.tar.xz |
ARM: don't use --gc-sections with LTO when using private libgcc
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>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions