diff options
author | David Laight <david.laight.linux@gmail.com> | 2025-04-01 07:26:42 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-01 10:07:13 +0300 |
commit | e77956e4e5c11218e60a1fe8cdbccd02476f2e56 (patch) | |
tree | b55f6d86d24459e3a12edc8d86fb82bf4bcd5460 /lib/crypto/mpi/mpiutil.c | |
parent | 3e7be635937d19b91bab70695328214a3d789d51 (diff) | |
download | linux-e77956e4e5c11218e60a1fe8cdbccd02476f2e56.tar.xz |
objtool: Fix verbose disassembly if CROSS_COMPILE isn't set
In verbose mode, when printing the disassembly of affected functions, if
CROSS_COMPILE isn't set, the objdump command string gets prefixed with
"(null)".
Somehow this worked before. Maybe some versions of glibc return an
empty string instead of NULL. Fix it regardless.
[ jpoimboe: Rewrite commit log. ]
Fixes: ca653464dd097 ("objtool: Add verbose option for disassembling affected functions")
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250215142321.14081-1-david.laight.linux@gmail.com
Link: https://lore.kernel.org/r/b931a4786bc0127aa4c94e8b35ed617dcbd3d3da.1743481539.git.jpoimboe@kernel.org
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions