提交 8f969651 编写于 作者: M Marek Behún 提交者: Tom Rini

ARM: make LTO available

Make LTO available for ARM architecture.
Signed-off-by: NMarek Behún <marek.behun@nic.cz>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 2361b5eb
...@@ -33,6 +33,7 @@ config ARC ...@@ -33,6 +33,7 @@ config ARC
config ARM config ARM
bool "ARM architecture" bool "ARM architecture"
select ARCH_SUPPORTS_LTO
select CREATE_ARCH_SYMLINK select CREATE_ARCH_SYMLINK
select HAVE_PRIVATE_LIBGCC if !ARM64 select HAVE_PRIVATE_LIBGCC if !ARM64
select SUPPORT_OF_CONTROL select SUPPORT_OF_CONTROL
......
...@@ -45,6 +45,8 @@ obj-$(CONFIG_SEMIHOSTING) += semihosting.o ...@@ -45,6 +45,8 @@ obj-$(CONFIG_SEMIHOSTING) += semihosting.o
obj-y += bdinfo.o obj-y += bdinfo.o
obj-y += sections.o obj-y += sections.o
CFLAGS_REMOVE_sections.o := $(LTO_CFLAGS)
obj-y += stack.o obj-y += stack.o
ifdef CONFIG_CPU_V7M ifdef CONFIG_CPU_V7M
obj-y += interrupts_m.o obj-y += interrupts_m.o
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册