This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: QNX binutils targets
On Fri, Oct 25, 2002 at 03:01:31PM -0400, Hans-Peter Nilsson wrote:
> > >
> >
> > It is wrong because the ABI is the same. In the case of QNX, the ABI
> > is different. Did you get it?
>
> No new facts. That's what I meant. by "what system the object
> is for". Still, the ELF fields (for example SHT_LOOS through
> SHT_HIOS) are interpreted the same, so an EI_OSABI change is
> wrong from the specification viewpoint (if only that). But hey,
> changing the EI_OSABI field opens up for QNX to have other
> interpretations for the OS-specific ELF fields without
> introducing ambiguity!
Have you looked at elf32-qnx.c? The QNX ABI is different from the SVR4
ABI for x86. That is why they need a separate bfd target. Otherwise,
it is not necessary to have a QNX target at all.
H.J.