[PATCH] Add new e_machine constants to elf.h

Mark Wielaard mark@klomp.org
Mon Nov 2 21:55:28 GMT 2026


Hi,

On Mon, Oct 26, 2026 at 10:58:12AM +0100, Mark Wielaard wrote:
> It seems the e_machine values are published in all
> possible official ways. Shall we just add them now?

Ping. Since the objection to adding the new constants have been
resolve, OK to push now?

> On Tue, Oct 20, 2026 at 02:35:35PM -0700, Cary Coutant wrote:
> > I've pushed all the new e_machine values into the v4.3 draft, if that
> > helps, Carlos. My plan is to keep that list current in the git repo and in
> > the HTML version, without publishing a new PDF version every time.
> > 
> > Really the only reason we're still in draft status is that I'm waiting for
> > Xinuos legal to approve a more permissive license. Unfortunately, it's a
> > very slow process.
> > 
> > -cary
> > 
> > 
> > On Mon, Oct 19, 2026 at 9:17 AM Mark Wielaard <mark@klomp.org> wrote:
> > 
> > > Hi,
> > >
> > > On Mon, 2026-10-19 at 10:27 -0400, Carlos O'Donell wrote:
> > > > On 10/17/26 8:43 PM, Cary Coutant wrote:
> > > > >      > +#define EM_SW64              268     /* Wuxi Institute of
> > > Advanced Technology SW64 */
> > > > >      > +#define EM_AIECTRLCODE       269     /* AMD/Xilinx AIEngine
> > > ctrlcode */
> > > > >      > +#define EM_PPU               270     /* T-Head PPU */
> > > > >      > +#define EM_LST               271     /* Lisuan Technology Co.,
> > > Ltd. LST */
> > > > >      > +#define EM_CHILI     272     /* OpenAI Chili architecture */
> > > > >
> > > > >     Not OK. These last 5 are unpublished?
> > > > >
> > > > > These have been officially assigned and published on the generic-abi
> > > > > mailing list. They will appear in the next published draft of Version
> > > > > 4.3 of the ELF spec.
> > > >
> > > > Thanks for clarifying.
> > > >
> > > > May we wait until 4.3 has been published to include them?
> > >
> > > I think the point of officially assigning and publishing these
> > > constants on generic-abi is precisely so we don't have to wait for new
> > > versions of the gabi/ELF spec to start using them. There may be years
> > > between publication of (draft) versions.
> > >
> > > Cheers,
> > >
> > > Mark
> > >


More information about the Libc-alpha mailing list