summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-03-08 16:30:45 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-03-15 10:32:42 +0100
commit53f7109ef957315ab53205ba3a3f4f48874c0428 (patch)
treeb8bea43867db32c24fd349b9f4c38f93fc025caf /scripts
parentx86/ibt: Ensure module init/exit points have references (diff)
downloadlinux-53f7109ef957315ab53205ba3a3f4f48874c0428.tar.xz
linux-53f7109ef957315ab53205ba3a3f4f48874c0428.zip
objtool: Rename --duplicate to --lto
In order to prepare for LTO like objtool runs for modules, rename the duplicate argument to lto. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20220308154319.172584233@infradead.org
Diffstat (limited to 'scripts')
-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 666f7bbc13eb..9b08dca26f99 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -115,7 +115,7 @@ objtool_link()
objtoolcmd="orc generate"
fi
- objtoolopt="${objtoolopt} --duplicate"
+ objtoolopt="${objtoolopt} --lto"
if is_enabled CONFIG_FTRACE_MCOUNT_USE_OBJTOOL; then
objtoolopt="${objtoolopt} --mcount"