Skip to main content

FUNC_TABLE_SYMBOL

Constant FUNC_TABLE_SYMBOL 

Source
pub const FUNC_TABLE_SYMBOL: &str = "__synth_func_table";
Expand description

#275: the base symbol of the SELF-CONTAINED funcref table — the flash-resident region build_multi_func_cortex_m_elf appends after the function code: one 4-byte code pointer per table slot across ALL tables in declaration order (the same contiguous layout the --relocatable R11 contract uses — TableGuards::base_byte_offset stays valid verbatim), null slots as ZERO words (#664), followed by the #676 type-id sidecar at type_ids_byte_offset when a heterogeneous table needs it. The dispatch reaches it through an LdrSym literal-pool word (an Abs32 reloc against this symbol) that the image builder patches post-layout — never through R11, which is the linear-memory base (the #717 collision).