Merge tag 'lkdtm-next' of https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux...
[linux-2.6-microblaze.git] / scripts / link-vmlinux.sh
index f704034..9361a1e 100755 (executable)
@@ -50,7 +50,7 @@ gen_initcalls()
 {
        info GEN .tmp_initcalls.lds
 
-       ${PYTHON} ${srctree}/scripts/jobserver-exec             \
+       ${PYTHON3} ${srctree}/scripts/jobserver-exec            \
        ${PERL} ${srctree}/scripts/generate_initcall_order.pl   \
                ${KBUILD_VMLINUX_OBJS} ${KBUILD_VMLINUX_LIBS}   \
                > .tmp_initcalls.lds
@@ -140,7 +140,7 @@ objtool_link()
                if ! is_enabled CONFIG_FRAME_POINTER; then
                        objtoolopt="${objtoolopt} --no-fp"
                fi
-               if is_enabled CONFIG_GCOV_KERNEL || is_enabled CONFIG_LTO_CLANG; then
+               if is_enabled CONFIG_GCOV_KERNEL; then
                        objtoolopt="${objtoolopt} --no-unreachable"
                fi
                if is_enabled CONFIG_RETPOLINE; then