Skip to content

Commit 839ad22

Browse files
rddunlapKAGA-KOKO
authored andcommitted
x86/tools: Fix objdump version check again
Skip (omit) any version string info that is parenthesized. Warning: objdump version 15) is older than 2.19 Warning: Skipping posttest. where 'objdump -v' says: GNU objdump (GNU Binutils; SUSE Linux Enterprise 15) 2.35.1.20201123-7.18 Fixes: 8bee738 ("x86: Fix objdump version check in chkobjdump.awk for different formats.") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Link: https://lore.kernel.org/r/20210731000146.2720-1-rdunlap@infradead.org
1 parent 36a21d5 commit 839ad22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/tools/chkobjdump.awk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ BEGIN {
1010

1111
/^GNU objdump/ {
1212
verstr = ""
13+
gsub(/\(.*\)/, "");
1314
for (i = 3; i <= NF; i++)
1415
if (match($(i), "^[0-9]")) {
1516
verstr = $(i);

0 commit comments

Comments
 (0)