x86: insn decoder test checks objdump version
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 20 Nov 2009 17:13:14 +0000 (12:13 -0500)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 21 Nov 2009 07:01:04 +0000 (23:01 -0800)
commit6f5f67267dc4faecd9cba63894de92ca92a608b8
tree2ebee0e99341c812a55947cf0a611b4d0fef6d68
parent80509e27e40d7554e576405ed9f5b7966c567112
x86: insn decoder test checks objdump version

Check objdump version before using it for insn decoder build test,
because some older objdump can't decode AVX code correctly.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jim Keniston <jkenisto@us.ibm.com>
LKML-Reference: <20091120171314.6715.30390.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/tools/Makefile
arch/x86/tools/chkobjdump.awk [new file with mode: 0644]