ELF File Structure
Binary Format
ELF File Layout (Offsets)
Higher file offsets
Section Headers
.symtab
.bss
.data
.rodata
.text
Machine code
Program Headers
ELF Header
Magic: 7f 45 4c 46 (off 0x0000)
Section Details + Mapping
ELF Header
Arch: ARM 32-bit
Entry point addr
Type: executable
.text = code
All instructions
Maps to XIP flash
Disassemble this!
.data / .rodata
.data = initialized
.rodata = constants
.bss = zeroed vars
.symtab = symbols
Function names
ELF header is file metadata
not runtime address 0x1000....
Use section VMA/LMA for memory map