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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 36a21d5 commit 839ad22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)