tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

<elf.h> badness



Hello,

Our elf.h #define's:

#define ELF64_FSZ_HALF  4

This is wrong, afaiu, according to the Elf ABI spec for 64 bit
platforms this should be 2.

See:
http://sourceforge.net/apps/trac/elftoolchain/wiki/PortingNotes

under the heading:

"Variances in ELF Types"

Here's a link to the correct ABI spec:
http://www.sco.com/developers/gabi/latest/ch4.intro.html#data_representation

I'm not sure that having an Elf64_Quarter type is the way to address this ?

Surely this is not doing the right thing ?
-- 
~Cherry


Home | Main Index | Thread Index | Old Index