summaryrefslogtreecommitdiff
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2022-05-20 12:26:49 +0200
committerJoerg Roedel <jroedel@suse.de>2022-05-20 12:26:49 +0200
commitb11deb2f250fbf841e578e0f3bea3993fdedd0f7 (patch)
treeda72b24f9948f4d5630529819b546e514a87aa61 /scripts/link-vmlinux.sh
parente3b9bf145cb6a0c0ffa106d5a78029c7c3e94ef7 (diff)
parent42226c989789d8da4af1de0c31070c96726d990c (diff)
Merge tag 'v5.18-rc7' into arm/smmu
Linux 5.18-rc7
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rwxr-xr-xscripts/link-vmlinux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index 20f44504a644..9361a1ef02c9 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -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