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
- Program
Flags - Program header flags
- Program
Header - ELF program header (segment)
- Relocation
- ELF relocation entry (REL format, no addend)
- Section
- ELF section
- Section
Flags - Section flags
- Symbol
- ELF symbol
Enums§
- ArmRelocation
Type - ARM relocation type
- ElfClass
- ELF file class
- ElfData
- ELF data encoding
- ElfMachine
- ELF machine architecture
- ElfType
- ELF file type
- Program
Type - Program header type
- Section
Type - Section type
- Symbol
Binding - Symbol binding
- Symbol
Type - 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.attributessection (#637): format-version'A', one"aeabi"vendor subsection carrying a singleTag_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.