Skip to main content

Module elf_builder

Module elf_builder 

Source
Expand description

ELF (Executable and Linkable Format) Builder for ARM

Generates ELF32 files for ARM Cortex-M targets

Modules§

aeabi
ARM EABI build-attribute tags and values (#637) — “Addenda to, and Errata in, the ABI for the Arm Architecture” (build attributes). Only the tags the synth ELF writer emits; consumers (objdump, gdb, synth disasm) use them to auto-select the Thumb vs A32 decoder without a manual --triple.

Structs§

ElfBuilder
ELF file builder
ProgramFlags
Program header flags
ProgramHeader
ELF program header (segment)
Relocation
ELF relocation entry (REL format, no addend)
Section
ELF section
SectionFlags
Section flags
Symbol
ELF symbol

Enums§

ArmRelocationType
ARM relocation type
ElfClass
ELF file class
ElfData
ELF data encoding
ElfMachine
ELF machine architecture
ElfType
ELF file type
ProgramType
Program header type
SectionType
Section type
SymbolBinding
Symbol binding
SymbolType
Symbol type

Constants§

EF_ARM_ABI_FLOAT_HARD
ARM hard-float ABI flag
EF_ARM_ABI_FLOAT_SOFT
ARM soft-float ABI flag
EF_ARM_EABI_VER5
ARM EABI version 5 (soft-float)

Functions§

arm_attributes_section
Build the .ARM.attributes section (#637): format-version 'A', one "aeabi" vendor subsection carrying a single Tag_File (1) subsubsection with the given file-scope attributes. Tags with value 0 are omitted (0 is the spec default). Standard toolchains (objdump, gdb, ld) read this to auto-select the Thumb vs A32 decoder — synth objects become self-describing instead of requiring a manual --triple=thumbv7m.