mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
ARM: make LTO available
Make LTO available for ARM architecture. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2361b5eb5c
commit
8f9696510a
2 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ config ARC
|
|||
|
||||
config ARM
|
||||
bool "ARM architecture"
|
||||
select ARCH_SUPPORTS_LTO
|
||||
select CREATE_ARCH_SYMLINK
|
||||
select HAVE_PRIVATE_LIBGCC if !ARM64
|
||||
select SUPPORT_OF_CONTROL
|
||||
|
|
|
@ -45,6 +45,8 @@ obj-$(CONFIG_SEMIHOSTING) += semihosting.o
|
|||
|
||||
obj-y += bdinfo.o
|
||||
obj-y += sections.o
|
||||
CFLAGS_REMOVE_sections.o := $(LTO_CFLAGS)
|
||||
|
||||
obj-y += stack.o
|
||||
ifdef CONFIG_CPU_V7M
|
||||
obj-y += interrupts_m.o
|
||||
|
|
Loading…
Add table
Reference in a new issue