MIPS Elfutils support?

Mark Wielaard mark@klomp.org
Tue Jan 22 14:50:00 GMT 2019


Hi Luke,

On Sun, 2019-01-20 at 16:42 +0000, Luke Diamand wrote:
> I was hoping to use elfutils on some MIPS core files. So I was
> wondering what the status is?
> 
> There is a patch in Debian (apparently originally from RedHat?) here:
> 
https://sources.debian.org/src/elfutils/0.175-2/debian/patches/mips_backend.diff/
> 
> That's not in the mainline code though, and also lacks unwind support
> (?).
> 
> I also have a small patch needed to pick up the shared library
> process map - instead of using DT_DEBUG, MIPS targets use
> DT_MIPS_RLD_MAP in core files.

The status of that port is somewhat unclear.
Although the files state they are copyrighted Red Hat, I believe that
is wrong. They might be derived from some other backend which was. But
I think the original authors have disappeared.

The other problem has been that we don't seem to have anybody with MIPS
experience/setups that can help test/integrate the port.

Also, in the past the port made changes to the generic libelf code that
caused bugs on other architectures:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794488
Which made me somewhat suspicious about this backend.

Best would be to discuss with the Debian maintainer, Kurt Roeckx <
kurt@roeckx.be>, how to move this forward/upstream.

Thanks,

Mark



More information about the Elfutils-devel mailing list