-
Notifications
You must be signed in to change notification settings - Fork 0
Assembly Language Linkers
ScriptScorpion edited this page Aug 1, 2025
·
2 revisions
A linker combines object files (.o, .obj) generated by an assembler into an executable or library. Below are common linkers used in Assembly development.
- ld (GNU Linker)
-
Default linker for GCC and GNU toolchains.
-
Supports ELF (Linux), PE (Windows), and other formats.
- lld (LLVM linker)
-
High-performance linker from the LLVM project.
-
Faster than GNU ld and supports multiple platforms.
- gold (GNU’s faster ld alternative) - outdated
-
Optimized for speed (used in Linux distributions).
-
Supports ELF only.
Linux/Unix: ld, lld, gold.
Windows: lld.
Cross-platform: lld.