# git rev-parse -q --verify 19331e84c3873256537d446afec1f6c507f8c4ef^{commit} 19331e84c3873256537d446afec1f6c507f8c4ef already have revision, skipping fetch # git checkout -q -f -B kisskb 19331e84c3873256537d446afec1f6c507f8c4ef # git clean -qxdf # < git log -1 # commit 19331e84c3873256537d446afec1f6c507f8c4ef # Author: Nathan Chancellor # Date: Tue Dec 13 11:35:29 2022 -0700 # # modpost: Include '.text.*' in TEXT_SECTIONS # # Commit 6c730bfc894f ("modpost: handle -ffunction-sections") added # ".text.*" to the OTHER_TEXT_SECTIONS macro to fix certain section # mismatch warnings. Unfortunately, this makes it impossible for modpost # to warn about section mismatches with LTO, which implies # '-ffunction-sections', as all functions are put in their own # '.text.' sections, which may still reference functions in # sections they are not supposed to, such as __init. # # Fix this by moving ".text.*" into TEXT_SECTIONS, so that configurations # with '-ffunction-sections' will see warnings about mismatched sections. # # Link: https://lore.kernel.org/Y39kI3MOtVI5BAnV@google.com/ # Reported-by: Vincent Donnefort # Reviewed-and-tested-by: Alexander Lobakin # Reviewed-by: Sami Tolvanen # Tested-by: Vincent Donnefort # Signed-off-by: Nathan Chancellor # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 19331e84c3873256537d446afec1f6c507f8c4ef # < make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_arm64-defconfig_arm64-gcc5 # Build took: 0:02:27.050277