Subject: Re: mips & elf
To: Klaus Klein <kleink@ira.uka.de>
From: Simon Burge <simonb@netbsd.org>
List: tech-toolchain
Date: 10/28/1999 08:01:49
Klaus Klein wrote:

> Simon Burge <simonb@netbsd.org> writes:
> 
> > Matthias Drochner wrote:
> > 
> > > [[ current errors ]]
> > >
> > > (The SHN_MIPS_ACOMMON there looks bogus btw.)
> > 
> > I think I can get the kernel to stop using <mips/elf.h> fairly easily.

I've done this already.

> > Luckily the SHN_ sutff isn't used by the mips-specific ELF interpreter.
> > Klaus - are the definitions of the SHN_MIPS_* macros "authorative"?
> 
> They are, but they're not tied to <mips/elf.h> but <elf.h>. (Like
> Matthias pointed out, the SHN_MIPS_ACOMMON macro in <mips/elf.h> is
> bogus.)

Ahh, I wasn't sure which elf.h Matthias said the bogusity was in :-)

> > Does anyone know if <mips/elf.h> is required by the MIPS API?
> 
> It's not; unless there are reasonable objections, I'd like to remove
> it from the tree.

Cool by me.  The only remaining reference I can find to <mips/elf.h> is
in the pica stuff, and that hasn't built for ages.  The actual reference
is in what is now a MIPS MI routine anyways.  I can "make it so" if you
want...

Simon.