Skip to content
Latchkey

Linker Script - CI/CD Glossary Definition

A linker script is a file that tells the linker how to map input sections to output sections and where to place them in memory, controlling the layout of the final binary.

Where it is used

Linker scripts are common in embedded and systems builds, where the program must place code and data at specific memory addresses. GNU ld reads them via -T script.ld.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →