# git gc # git rev-parse -q --verify 5cc638a0a0f78925ea4c9c4c4846575d35a989a7^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify 5cc638a0a0f78925ea4c9c4c4846575d35a989a7^{commit} 5cc638a0a0f78925ea4c9c4c4846575d35a989a7 # git checkout -q -f -B kisskb 5cc638a0a0f78925ea4c9c4c4846575d35a989a7 # git clean -qxdf # < git log -1 # commit 5cc638a0a0f78925ea4c9c4c4846575d35a989a7 # Author: Masahiro Yamada # Date: Sun Sep 25 03:19:15 2022 +0900 # # kbuild: remove head-y syntax # # Kbuild puts the objects listed in head-y at the head of vmlinux. # Conventionally, we do this for head*.S, which contains the kernel entry # point. # # A counter approach is to control the section order by the linker script. # Actually, the code marked as __HEAD goes into the ".head.text" section, # which is placed before the normal ".text" section. # # I do not know if both of them are needed. From the build system # perspective, head-y is not mandatory. If you can achieve the proper code # placement by the linker script only, it would be cleaner. # # I collected the current head-y objects into head-object-list.txt. It is # a whitelist. My hope is it will be reduced in the long run. # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 5cc638a0a0f78925ea4c9c4c4846575d35a989a7 # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 # Build took: 0:10:22.406994