On Fri, Aug 03, 2012 at 01:03:38PM +0100, Mans Rullgard wrote:
If directly examining the attributes section is out of the question, perhaps the e_flags field would be a better option than OSABI, being clearly designated as a collection of flags and also having more bits currently unused.
That's my next fallback...
Keep in mind that changing the ELF header will require an update to the ARM ELF specification, and is likely to cause compatibility problems with other toolchain vendors until they make the corresponding changes. Using existing sections does not have this problem.
We'll have to update the ARM ELF ABI docs, yes. This is expected, and I'm discussing it with the ABI folks.
Cheers,