This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] gas patch: make MIPS_STABS_ELF actually work
On Fri, Jun 29, 2001 at 04:53:05PM -0700, Daniel Jacobowitz wrote:
> On Fri, Jun 29, 2001 at 04:48:53PM -0700, H . J . Lu wrote:
> > On Fri, Jun 29, 2001 at 04:34:53PM -0700, Daniel Jacobowitz wrote:
> > > > Which CVS are you talking about? COFF is enabled in bfd, but not in gas,
> > > > in the current CVS. You can still objcopy for COFF.
> > >
> > > Sorry, you're right. The problem happens only in 2.11.2. The patch is
> > > still correct, though, even if no port will trigger it any more.
> > >
> >
> > I don't think so. You got ecoff_stabs since you were using 2.11.2 where
> > MIPS_STABS_ELF is not enabled for Linux/mips. The current CVS fixes
> > many problems on Linux/mips. There is a pending patch to fix another
> > serious bug.
>
> That's not true. In 2.11.2:
> mips-*-linux-gnu*)
> fmt=elf em=tmips
> AC_DEFINE(MIPS_STABS_ELF, 1,
> [Use ELF stabs for MIPS, not ECOFF stabs])
I din't check it in. Someone forgot to check in the rest of my patch:
2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
* configure: Regenerate.
2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
ecoff emulation.
* configure: Regenerate.
I never tested such a change. I won't recommend 2.11.2 for Linux/mips.
H.J.