What does KEEP mean in a linker script?
Afaik LD keeps the symbols in the section even if symbols are not referenced. (–gc-sections). Usually used for sections that have some special meaning in the binary startup process, more or less to mark the roots of the dependency tree. (For Sabuncu below) Dependency tree: If you eliminate unused code, you analyze the code and … Read more