cross kallsyms on different endian platform
Keith Owens
kaos at sgi.com
Mon Apr 7 21:44:08 PDT 2003
On Tue, 8 Apr 2003 08:06:01 +0800,
edie <eddie.dong at intel.com> wrote:
>I want to build a cross kallsyms tool that works on IA32 host(little endian)
>but parses arm big endian target files, I met problems to make this tool work
>correctly, all the WORDs stored in target big endian format file are treated
>as little endian datas by host, so either I need to make bunch of source
>changes for cross endian platform or I need to use a same endian environment.
>Can anybody give me some hints?
>eddie
kallsyms does not support cross compilation. Google for kallsyms i386
ia64 for a hard coded version that handles ia64 kernels on i386. For
different endianess, you have to swap all fields as they are read in
and written out.
I have told the linux-kernel mailing list that I am willing to make
modutils work in cross compile mode, with any combination of word size
and endianess. But only after there is a demonstrated need for it,
such as adding the kksymoops patch to the 2.4 kernel tree. At the
moment, the "need" for cross compile modutils does not justify me doing
a complete rewrite on modutils to support cross build. As long as
debuggers are second class citizens in the kernel, they will get poor
support.
More information about the kdb
mailing list