public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* MIPS Elfutils support?
@ 2019-01-20 16:42 Luke Diamand
  2019-01-22 14:50 ` Mark Wielaard
  0 siblings, 1 reply; 3+ messages in thread
From: Luke Diamand @ 2019-01-20 16:42 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

Hi!

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.

Thanks
Luke

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MIPS Elfutils support?
  2019-01-20 16:42 MIPS Elfutils support? Luke Diamand
@ 2019-01-22 14:50 ` Mark Wielaard
  2019-10-11  0:20   ` Indu Bhagat
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Wielaard @ 2019-01-22 14:50 UTC (permalink / raw)
  To: Luke Diamand, elfutils-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MIPS Elfutils support?
  2019-01-22 14:50 ` Mark Wielaard
@ 2019-10-11  0:20   ` Indu Bhagat
  0 siblings, 0 replies; 3+ messages in thread
From: Indu Bhagat @ 2019-10-11  0:20 UTC (permalink / raw)
  To: Mark Wielaard, Kurt Roeckx; +Cc: Luke Diamand, elfutils-devel

On Tue, Jan 22, 2019 at 6:50 AM Mark Wielaard <mark@klomp.org> wrote:
>
> 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

( + Kurt )

I am interesting in knowing the state of the MIPS port as well. What
are the plans for upstreaming this ?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-11  0:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-20 16:42 MIPS Elfutils support? Luke Diamand
2019-01-22 14:50 ` Mark Wielaard
2019-10-11  0:20   ` Indu Bhagat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).