projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3724062
)
objtool: Move dodgy linker warn to verbose
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 6 Feb 2025 10:12:08 +0000
(11:12 +0100)
committer
Peter Zijlstra
<peterz@infradead.org>
Sat, 8 Feb 2025 14:43:08 +0000
(15:43 +0100)
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>
tools/objtool/check.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/objtool/check.c
b/tools/objtool/check.c
index 3520a45ebde8b408af1f00ec0d2bc069e0be6842..497cb8dfb3eb3b164fd5d9413f1c364764acac30 100644
(file)
--- 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;
}