Ralf Baechle wrote:
> On Fri, Jul 22, 2005 at 02:24:48PM +0100, Maciej W. Rozycki wrote:
>
> > > > - the in-kernel use seems to be limited to the ELF binary object
> > > > loader and probably third party modules loaders
> > > > I found moving to a consistent definition to be more useful than
> > > > keeping the old inconsistent one.
> > >
> > > I think you're confusing binutils's internal definitions with the use
> > > everywhere else.
> >
> > In particular when in doubt please refer to ELF standards which state
> > "EF_" is the prefix for processor-specific flags in "e_flags" in the ELF
> > file header; similarly with "EM_" for "e_machine" and "ET_" for "e_type"
> > -- you should see the pattern. There is no mention of the "E_" prefix in
> > the standards.
>
> Which makes me wonder why glibc has the E_ definitions. Other operating
> systems that I looked up don't.
The MIPS ELF ABI supplement mandates those bits to be zero (for MIPS I),
consequentially it doesn't need to specify names for them.
Thiemo
|