[PATCH u-boot 37/39] ARM: don't use -ffunction-sections/-fdata-sections with LTO build
Bin Meng
bmeng.cn at gmail.com
Wed Mar 10 04:40:42 CET 2021
On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.behun at nic.cz> wrote:
>
> When building with LTO, using -ffunction-sections/-fdata-sections is not
> useful anymore.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
> arch/arm/config.mk | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
I believe we should also remove --gc-sections.
Regards,
Bin
More information about the U-Boot
mailing list