BACKPORT: Documentation/llvm: fix the name of llvm-size
authorFangrui Song <maskray@google.com>
Thu, 2 Apr 2020 17:38:42 +0000 (10:38 -0700)
committerBruno Martins <bgcngm@gmail.com>
Sun, 22 Oct 2023 14:12:32 +0000 (15:12 +0100)
The tool is called llvm-size, not llvm-objsize.

Fixes: fcf1b6a35c16 ("Documentation/llvm: add documentation on building w/ Clang/LLVM")
Signed-off-by: Fangrui Song <maskray@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
(cherry picked from commit 0f44fbc162b737ff6251ae248184390ae2279fee)
Change-Id: Ib6ff2a256b55983d0a3e9bb10f53f7a5c3c214d2

Documentation/kbuild/llvm.txt

index 0c30444a7368e0ce8646f873bc8dc1d34fa6e6ad..d469accd5fa3c6735757be85f1bb7cd2b31864f5 100644 (file)
@@ -51,7 +51,7 @@ LLVM has substitutes for GNU binutils utilities. These can be invoked as
 additional parameters to [make]{.title-ref}.
 
 >    make CC=clang AS=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \\
->     OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-objsize \\
+>     OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-size \\
 >     READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar \\
 >     HOSTLD=ld.lld