diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-02-06 11:12:08 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-08 15:43:08 +0100 |
commit | 7e501637bd5b702a2fa627e903a0025654110e1e (patch) | |
tree | f4f7dfbeafcbb987bd654f88bc38df9f2af97b31 | |
parent | 3724062ca2b1364f02cf44dbea1a552227844ad1 (diff) | |
download | linux-7e501637bd5b702a2fa627e903a0025654110e1e.tar.gz linux-7e501637bd5b702a2fa627e903a0025654110e1e.tar.bz2 linux-7e501637bd5b702a2fa627e903a0025654110e1e.zip |
objtool: Move dodgy linker warn to verbose
The lld.ld borkage is fixed in the latest llvm release (?) but will
not be backported, meaning we're stuck with broken linker for a fair
while.
Lets not spam all clang build logs and move warning to verbose.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
-rw-r--r-- | tools/objtool/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 3520a45ebde8..497cb8dfb3eb 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -2273,7 +2273,7 @@ static int read_annotate(struct objtool_file *file, if (sec->sh.sh_entsize != 8) { static bool warned = false; - if (!warned) { + if (!warned && opts.verbose) { WARN("%s: dodgy linker, sh_entsize != 8", sec->name); warned = true; } |