lkml.org 
[lkml]   [2020]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v2 1/2] objtool: x86 instruction decoder and big endian cross compiles
On Wed, Sep 30, 2020 at 02:24:19PM +0200, Vasily Gorbik wrote:
> From: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> Make the x86 instruction decoder of the objtool usable on big endian
> machines. This is useful for compile tests on non x86, big endian
> hardware.
>
> Co-developed-by: Vasily Gorbik <gor@linux.ibm.com>
> [ gor: more endianness problems findings fixes / rebasing ]
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
> ---
> arch/x86/include/asm/insn.h | 42 ++++++++++++++
> arch/x86/lib/insn.c | 95 +++++++++++++------------------
> tools/arch/x86/include/asm/insn.h | 42 ++++++++++++++
> tools/arch/x86/lib/insn.c | 95 +++++++++++++------------------
> tools/objtool/arch/x86/special.c | 2 +-
> tools/objtool/check.c | 4 +-
> tools/objtool/elf.c | 34 ++++++-----
> 7 files changed, 188 insertions(+), 126 deletions(-)

Can the insn changes be done in a separate patch from the objtool
changes?

Also, 'Masami Hiramatsu <mhiramat@kernel.org>' should be on Cc for the
insn changes since he wrote the original code.

--
Josh

\
 
 \ /
  Last update: 2020-09-30 17:21    [W:0.045 / U:24.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site