diff options
author | akpm@linux-foundation.org <akpm@linux-foundation.org> | 2009-12-18 02:26:36 +0300 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-12-18 02:34:29 +0300 |
commit | 8c63450718ea62ee3a70bffde170b4d15fc72d3c (patch) | |
tree | db8ab8de8ca3948ea854c87a559ad27476599d79 /arch/x86/tools | |
parent | 6c56ccecf05fafe100ab4ea94f6fccbf5ff00db7 (diff) | |
download | linux-8c63450718ea62ee3a70bffde170b4d15fc72d3c.tar.xz |
x86: Fix objdump version check in arch/x86/tools/chkobjdump.awk
It says
Warning: objdump version is older than 2.19
Warning: Skipping posttest.
because it used the wrong field from `objdump -v':
akpm:/usr/src/25> /opt/crosstool/gcc-4.0.2-glibc-2.3.6/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-objdump -v
GNU objdump 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <200912172326.nBHNQaQl024796@imap1.linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Diffstat (limited to 'arch/x86/tools')
-rw-r--r-- | arch/x86/tools/chkobjdump.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/tools/chkobjdump.awk b/arch/x86/tools/chkobjdump.awk index 0d13cd9fdcff..5bbb5a33f220 100644 --- a/arch/x86/tools/chkobjdump.awk +++ b/arch/x86/tools/chkobjdump.awk @@ -9,7 +9,7 @@ BEGIN { } /^GNU/ { - split($4, ver, "."); + split($3, ver, "."); if (ver[1] > od_ver || (ver[1] == od_ver && ver[2] >= od_sver)) { exit 1; |