Construct an ELF target object writer.

Synopsis

Declared in <llvm/MC/MCELFObjectWriter.h>

MCELFObjectTargetWriter(
    bool Is64Bit_,
    uint8_t OSABI_,
    uint16_t EMachine_,
    bool HasRelocationAddend_,
    uint8_t ABIVersion_ = 0);

Parameters

Name

Description

Is64Bit_

‐ True if writing a 64‐bit ELF object.

OSABI_

‐ ELF OS/ABI identifier for e_ident[EI_OSABI].

EMachine_

‐ ELF machine type for e_machine.

HasRelocationAddend_

‐ True if the target uses RELA relocations.

ABIVersion_

‐ ELF ABI version for e_ident[EI_ABIVERSION].

Created with MrDocs