[GIT PULL] Kbuild fixes for v5.10-rc6

From: Masahiro Yamada
Date: Sun Dec 06 2020 - 07:49:16 EST


Hi Linus,

Please pull some more Kbuild fixes for v5.10
Thanks.



The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18:

Linux 5.10-rc5 (2020-11-22 15:36:08 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-fixes-v5.10-2

for you to fetch changes up to 7d32358be8acb119dcfe39b6cf67ec6d94bf1fe7:

kbuild: avoid split lines in .mod files (2020-12-06 21:09:28 +0900)

----------------------------------------------------------------
Kbuild fixes for v5.10 (2nd)

- Move -Wcast-align to W=3, which tends to be false-positive and there
is no tree-wide solution.

- Pass -fmacro-prefix-map to KBUILD_CPPFLAGS because it is a preprocessor
option and makes sense for .S files as well.

- Disable -gdwarf-2 for Clang's integrated assembler to avoid warnings.

- Disable --orphan-handling=warn for LLD 10.0.1 to avoid warnings.

- Fix undesirable line breaks in *.mod files.

----------------------------------------------------------------
Arnd Bergmann (1):
Makefile.extrawarn: move -Wcast-align to W=3

Denys Zagorui (1):
kbuild: use -fmacro-prefix-map for .S sources

Masahiro Yamada (1):
kbuild: avoid split lines in .mod files

Nathan Chancellor (2):
kbuild: Hoist '--orphan-handling' into Kconfig
kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1

Nick Desaulniers (1):
Kbuild: do not emit debug info for assembly with LLVM_IAS=1

MAINTAINERS | 1 +
Makefile | 10 +++++++++-
arch/Kconfig | 9 +++++++++
arch/arm/Kconfig | 1 +
arch/arm/Makefile | 4 ----
arch/arm/boot/compressed/Makefile | 4 +++-
arch/arm64/Kconfig | 1 +
arch/arm64/Makefile | 4 ----
arch/powerpc/Kconfig | 1 +
arch/powerpc/Makefile | 1 -
arch/x86/Kconfig | 1 +
arch/x86/Makefile | 3 ---
arch/x86/boot/compressed/Makefile | 4 +++-
init/Kconfig | 10 ++++++++++
scripts/Makefile.build | 12 ++++--------
scripts/Makefile.extrawarn | 2 +-
scripts/lld-version.sh | 20 ++++++++++++++++++++
17 files changed, 64 insertions(+), 24 deletions(-)
create mode 100755 scripts/lld-version.sh


--
Best Regards
Masahiro Yamada