Extra Credit

Linker and Binutils

Official docs outline

10 sections
  1. GNU ld manual

    Overview of the GNU linker.

  2. ld command-line options

    -o, -L, -l, --gc-sections, -rpath and related options.

  3. Linker scripts

    SECTIONS, MEMORY, ENTRY and symbol assignments.

  4. Linker invocation

    How ld processes input files and archives.

  5. readelf

    Displaying ELF headers, sections, symbols and dynamic tags.

  6. objdump

    Disassembly with -d and displaying object file contents.

  7. nm

    Listing symbols and their types in object files.

  8. GNU as

    GNU assembler syntax, directives and sections.

  9. lld

    LLVM linker and its drop-in compatibility with GNU ld.

  10. lld ELF

    Details of lld for ELF, such as --icf and linker script support.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 11