Skip to content

TElfMachineType

Enumeration for ELF machine type

Declaration

Source position: elfconsts.pp line 25

type
  TElfMachineType = (emtnone,emtsparc,emti386,emtm68k,emtppc,emtppc64,
                   emtarm,emtarmeb,emtia64,emtx86_64,emtalpha,emtmips,
                   emtmipsel,emtppc64le,emtaarch64,emtriscv32,
                   emtriscv64,emtloongarch64,emtsparc64)

Values

Value Description
emtnone Invalid machine type
emtsparc Sparc machine type
emti386 Intel 386 machine type
emtm68k Motorola 68000 machine type
emtppc PowerPC machine type
emtppc64 PowerPC 64 machine type
emtarm ARM machine type
emtarmeb ARM Big Endian machine type
emtia64 Intel IA-64 machine type
emtx86_64 AMD x86_64 machine type
emtalpha DEC Alpha machine type
emtmips
emtmipsel
emtppc64le
emtaarch64
emtriscv32
emtriscv64
emtloongarch64
emtsparc64

Description

This enumeration specifies the ELF machine type.

It is used by TElfResourceWriter to specify the machine type of the generated object file and by TElfResourceReader to read the machine type of the object file that has been read.

See also

Name Description
TElfResourceWriter.MachineType The machine type of the object file
TElfResourceReader.MachineType The machine type of the object file