Skip to content

ARM: hacks for link-time optimization

Arnd Bergmann linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: disallow combining XIP and LTOarch/arm/Kconfig+1 -09 replies
2/7ARM: LTO: avoid THUMB2_KERNEL+LTOarch/arm/Kconfig+2 -14 replies
3/7pass endianess flag to LTO linkerarch/arm/Makefile+2 -06 replies
4/7ARM: io-acorn: fix LTO linking without CONFIG_PRINTKarch/arm/lib/io-acorn.S+4 -00 replies
5/7ARM: fix __inflate_kernel_data stack warning for LTOarch/arm/kernel/Makefile arch/arm/kernel/head-inflate-data.c+2 -41 reply
6/7ARM: mark assembler-referenced symbols as __visiblearch/arm/kernel/process.c arch/arm/kernel/suspend.c arch/arm/kernel/unwind.c +6 more+27 -210 replies
7/7efi: disable LTO for EFI stubdrivers/firmware/efi/libstub/Makefile+3 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchArnd Bergmann
1/7T-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] ARM: hacks for link-time optimization

Hi Nico, all,

I was playing with ARM link-time optimization handling earlier this month, and eventually got it to build cleanly with randconfig kernels, but ended up with a lot of ugly hacks to actually pull it off.

Here are the ones that I don't think we actually want to merge, but it may be helpful to have these for reference for the next person that tries to make it work.

Arnd

Arnd Bergmann (7):
ARM: disallow combining XIP and LTO
ARM: LTO: avoid THUMB2_KERNEL+LTO
[HACK] pass endianess flag to LTO linker
ARM: io-acorn: fix LTO linking without CONFIG_PRINTK
ARM: fix __inflate_kernel_data stack warning for LTO
ARM: mark assembler-referenced symbols as __visible
efi: disable LTO for EFI stub

 arch/arm/Kconfig                      |  4 +++-
 arch/arm/Makefile                     |  2 ++
 arch/arm/kernel/Makefile              |  3 ---
 arch/arm/kernel/head-inflate-data.c   |  3 ++-
 arch/arm/kernel/process.c             |  2 +-
 arch/arm/kernel/suspend.c             |  2 ++
 arch/arm/kernel/unwind.c              |  1 +
 arch/arm/lib/io-acorn.S               |  4 ++++
 arch/arm/probes/kprobes/core.c        |  2 +-
 arch/arm/probes/kprobes/test-core.c   | 11 ++++++-----
 arch/arm/vdso/vgettimeofday.c         |  2 ++
 drivers/bus/arm-cci.c                 |  6 +++---
 drivers/firmware/efi/libstub/Makefile |  4 +++-
 drivers/soc/bcm/brcmstb/pm/pm-arm.c   |  2 +-
 lib/clz_ctz.c                         | 20 ++++++++++----------
 15 files changed, 41 insertions(+), 27 deletions(-)
Signature · 1 line
2.9.0