This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] sh64: Fix gas testsuite expected output


On Fri, Oct 18, 2002 at 10:22:35AM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Alan Modra wrote:
> 
> > I believe the real test for a change in OSABI or ABIVERSION is:
> > Will a consumer of ELF files, such as a linker, that properly handles
> > ELF files conforming to the gABI and relevant psABI, be able to
> > properly handle your particular ELF files?
> 
> 
> As said many times, yes, this is the only use for this field.  All other
> marking of an ELF file must be done with other means and the method
> agreed on a looong time ago is a special note segment.
> 
 
As far as I know, ELF is an ABI for SVR4. That basically means it is
for Unix alike systems similar to SVR4. In elf32-sh.c, there are

#define ELF_MAXPAGESIZE         128

#define elf_symbol_leading_char '_'

They don't like a reasonable SVR4 system to me. It is more like a
standalone or embedded ABI. That is why I suggested ELF/sh should set

#define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */

We should create elf*-sh*-svr.c for SVR4 and use

#define ELFOSABI_NONE   0       /* UNIX System V ABI */

We should do it now before it is too late.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]