summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-05-20 14:24:04 +0300
committerTom Rini <trini@konsulko.com>2021-05-24 21:21:30 +0300
commitda48bd9ee5768e9811e4fbbab964c7f9d64fce3d (patch)
tree478d8f917782283f6470fac4a1c39ead68be5566 /lib
parentc1094987d1dc4701646c5f3aa254e7a92a02d305 (diff)
downloadu-boot-da48bd9ee5768e9811e4fbbab964c7f9d64fce3d.tar.xz
build: link with --build-id=none
Some toolchains are compiled so that they pass a --build-id=something parameter to the linker implicitly. This causes U-Boot LTO linking to fail with something like: ld: section .note.gnu.build-id LMA ... overlaps section .text LMA ... because U-Boot's link scripts do not currently handle .note.gnu.build-id section. Fix this by explicitly disabling build-id. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions