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)
> Mailing-List: contact binutils-help@sourceware.cygnus.com; run by ezmlm
> List-Unsubscribe: <mailto:binutils-unsubscribe-geoffk=cygnus.com@sources.redhat.com>
> List-Subscribe: <mailto:binutils-subscribe@sources.redhat.com>
> List-Archive: <http://sources.redhat.com/ml/binutils/>
> List-Post: <mailto:binutils@sources.redhat.com>
> List-Help: <mailto:binutils-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
> From: "Eric M. Christopher" <echristo@redhat.com>
> Cc: cgd@broadcom.com, jim@jtan.com, binutils@sources.redhat.com
> Date: 02 Nov 2001 12:53:52 -0800
>
>
> > > current binutils is broken on a few mips targets, I was under the
> > > impression that Linux/mips worked at the moment).
> > >
> >
> > 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.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>