This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
On Thu, Nov 01, 2001 at 01:25:58PM -0800, Geoff Keating wrote:
> > >
> > > Only with my patch. We need a way to tell gas to accept this ISA plus
> > > instructions for that CPU. Also, it will be nice to put that info in
> > > the ELF header. It is useful to loader.
> >
> > It depends on the linux cpu target then, that's not as bad. I liked
> > cgd's way of specifying additional instructions. I'd like to wait until
> > later today (perhaps tomorrow) and get more opinions.
>
> Usually, this is done by adding a special .note section, rather than
> having bits in the ELF header. For one thing, there's a limited
> supply of bits, but you can have as many and as large .note sections
> as you like. There is no problem reading a .note section from the loader.
I am talking about those E_MIPS_MACH_XXXX values defined by Cygnus.
H.J.