[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <159308601322.16989.8335361589316062237.tip-bot2@tip-bot2>
Date: Thu, 25 Jun 2020 11:53:33 -0000
From: "tip-bot2 for Peter Zijlstra" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Peter Zijlstra (Intel)" <peterz@...radead.org>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: x86/entry] objtool: Don't consider vmlinux a C-file
The following commit has been merged into the x86/entry branch of tip:
Commit-ID: 734d099ba644f5a92c70efa3d54d0ba2500ce162
Gitweb: https://git.kernel.org/tip/734d099ba644f5a92c70efa3d54d0ba2500ce162
Author: Peter Zijlstra <peterz@...radead.org>
AuthorDate: Wed, 17 Jun 2020 18:22:31 +02:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Thu, 25 Jun 2020 13:45:39 +02:00
objtool: Don't consider vmlinux a C-file
Avoids issuing C-file warnings for vmlinux.
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lkml.kernel.org/r/20200618144801.701257527@infradead.org
---
tools/objtool/check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 3e214f8..d8eaa7d 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -2772,7 +2772,7 @@ int check(const char *_objname, bool orc)
INIT_LIST_HEAD(&file.insn_list);
hash_init(file.insn_hash);
- file.c_file = find_section_by_name(file.elf, ".comment");
+ file.c_file = !vmlinux && find_section_by_name(file.elf, ".comment");
file.ignore_unreachables = no_unreachable;
file.hints = false;
Powered by blists - more mailing lists