]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'lto-v5.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Apr 2021 00:57:43 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Apr 2021 00:57:43 +0000 (17:57 -0700)
commit140e6f41ac1554c19fb38c7311e990561f78b9a6
tree738494d912fa09953de941a6c8752e3a7cf3f2f5
parent785a2370176d9efacaaa941f131f4e9191e5df9c
parent447fa10ae0da95403d9ab2a204ae16171cbf6899
Merge tag 'lto-v5.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

Pull LTO fix from Kees Cook:
 "It seems that there is a bug in ld.bfd when doing module section
  merging.

  As explicit merging is only needed for LTO, the work-around is to only
  do it under LTO, leaving the original section layout choices alone
  under normal builds:

   - Only perform explicit module section merges under LTO (Sean
     Christopherson)"

* tag 'lto-v5.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled