This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] sh64: Fix gas testsuite expected output
On Tue, Oct 15, 2002 at 11:00:20PM -0700, H. J. Lu wrote:
> On Tue, Oct 15, 2002 at 10:51:59PM -0700, Stephen Clarke wrote:
> > From: "H. J. Lu" <hjl@lucon.org>
> > Sent: Tuesday, October 15, 2002 10:32 PM
> >
> >
> > > On Tue, Oct 15, 2002 at 09:39:29PM -0700, Stephen Clarke wrote:
> > > > From: "H. J. Lu"
> > > > Sent: Tuesday, October 15, 2002 8:27 PM
> > > > >
> > > > > That is not right. Something is wrong with ELF/SH. Can you tell me
> > > > > the difference between elf32-sh64big-linux and elf32-sh64 in the
> > > > > ELF header?
> > > >
> > > > I can't: I don't think there is a difference in the ELF header.
> > > > The same issue applies to non-sh64 targets,
> > > > e.g.elf32-shl and elf32-sh-linux.
> > > >
> > >
> > > Then, I have to ask, what are the differences between elf32-shl and
> > > elf32-sh-linux? If you tell me that, I may come up with something.
> >
> > If you mean what are the differences in the ELF header between
> > elf32-shl and elf32-sh-linux, then I don't think there are any. If I
>
> No, why do you have elf32-shl and elf32-sh-linux? Can you just use
> elf32-shl for Linux?
>
It looks like Linux/sh uses a different ABI than ELF/sh. Please
consider setting ELFOSABI_LINUX. See elf32-hppa.c/elf64-hppa.c
for how to do it. You should do it ASAP before it is too late.
H.J.