diff options
| author | Peter Zijlstra <[email protected]> | 2022-03-08 16:30:45 +0100 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-03-15 10:32:42 +0100 |
| commit | 53f7109ef957315ab53205ba3a3f4f48874c0428 (patch) | |
| tree | b8bea43867db32c24fd349b9f4c38f93fc025caf /scripts | |
| parent | cb9010f87dcbcdbb51cc96b922c6260848cecbd1 (diff) | |
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) <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/link-vmlinux.sh | 2 |
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" |