This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: Elf OS ABI Number


> Does anyone know how to get one of these?  I was rooting around on Caldera's
> website but didn't see anything.  I've realized that we need to have a
> practical way to identify QNX binaries and this looks like the way to go.
> 

A fairly common question, to which most times the answer is that you don't 
need one.

You should only be using the OS ABI field if you are changing the meaning 
of the ELF specifics for a processor (new relocs, for example) which a 
linker not trained to recognise these would be unable to handle.  It 
shouldn't be used to represent things that are encoded in the instructions 
inside sections (eg library calls specific to your OS, etc).

The ELF specs seem to find it very hard to express this, but if you read 
it carefully, that is what they do say.

R.


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