Skip to content

Commit 7e50163

Browse files
author
Peter Zijlstra
committed
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>
1 parent 3724062 commit 7e50163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/objtool/check.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ static int read_annotate(struct objtool_file *file,
22732273

22742274
if (sec->sh.sh_entsize != 8) {
22752275
static bool warned = false;
2276-
if (!warned) {
2276+
if (!warned && opts.verbose) {
22772277
WARN("%s: dodgy linker, sh_entsize != 8", sec->name);
22782278
warned = true;
22792279
}

0 commit comments

Comments
 (0)