]> code.ossystems Code Review - openembedded-core.git/commit
gcc-target: Create a LTO plugin symlink in bfd-plugins directory
authorKhem Raj <raj.khem@gmail.com>
Sun, 25 Apr 2021 19:08:26 +0000 (12:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Apr 2021 14:11:36 +0000 (15:11 +0100)
commit5aae5812223792d5e5bd57e024de50fbcd1e6da5
tree20a0dcb8ceaae667aa2b3b6c196d7346854a3bb1
parentecf167c6419afd483f5291043a1d5072d388866b
gcc-target: Create a LTO plugin symlink in bfd-plugins directory

This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default

This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc