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.
A fallback definition replaced by any ordinary (strong) definition with the same name. Embedded code uses it for default interrupt handlers and similar.
A weak symbol is a fallback definition: "use this if there is no other".
How does a linker treat a weak symbol?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