What is Weak symbol?

A fallback definition replaced by any ordinary (strong) definition with the same name. Embedded code uses it for default interrupt handlers and similar.

Field: Linkers, Loaders & Executables

Weak symbol in the explanations

Questions that mention Weak symbol (1)

  1. How does a linker treat a weak symbol?

Related terms

Linker Interrupt Address space layout randomization (ASLR) BSS section Dynamic linker Dynamic linking Entry point Executable and Linkable Format (ELF) Global offset table Heap memory

Back to the glossary