This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strip on mips

On Thu, Mar 22, 2012 at 12:46:15PM -0700, Roland McGrath wrote:
> > The test failed on a mips binary.  The
> > stripping works now with the patch.
> We like to have consistent tests regardless of host (as well as the tests
> that use the native-built binaries).  So what I was suggesting was a new
> test with precise stored binaries.

I can provide you binaries for all arches in Debian if you want,
if you tell me which source to build, and how you want it build.

> > The next problem I see is that eu-readelf -w doesn't actually show
> > the contents of the debug sections, either on the non-stripped
> > or debug only file.
> Well, we don't actually have a mips backend, so various problems are to be
> expected until that porting work gets done.  That particular one is due to
> the SHT_PROGBITS check in readelf.c:print_debug.  Since SHT_MIPS_DWARF is
> in the SHT_LOPROC..SHT_HIPROC range, it wouldn't be proper to match it
> generically, so we really do need to add an ebl hook for this and then
> write a mips backend that defines it.

I have a mips backend already.  I have various backends you don't
have and I've tried a few times to get some of them applied without
much luck.

So if you provide a hook for it, I'm more than happy to implement
it on mips.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]