Difference between revisions of "Ld"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (Add link to LLVM linker documentation.)
(Add a reference to gcc linker documentation.)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
*  https://lld.llvm.org/ELF/linker_script.html . . . LLVM linker documentation
 
*  https://lld.llvm.org/ELF/linker_script.html . . . LLVM linker documentation
 +
 +
Use of 'KEEP' key word in linker scripts:
 +
 +
*  https://stackoverflow.com/questions/9827157/what-does-keep-mean-in-a-linker-script
 +
 +
How to place C global variables at a particular address:
 +
 +
*  https://global.epson.com/products_and_drivers/semicon/products/micro_controller/pdf/lnk_03e.pdf
 +
*  https://stackoverflow.com/questions/39998485/how-to-access-variable-define-in-linker-script-in-c
 +
 +
A reference to gcc linker documentation:
 +
 +
*  https://sourceware.org/binutils/docs/ld/Source-Code-Reference.html
  
 
<!-- odne komentar -->
 
<!-- odne komentar -->

Latest revision as of 23:40, 5 June 2024

GNU and LLVM linker notes.

Overview

This NN page a starting point for notes, links to external references and examples of `ld` linker scripts. As of page creation time 2024 Q1 there appear to be two major linker variants: GNU ld and LLVM linker implementation.

Introductory References

Use of 'KEEP' key word in linker scripts:

How to place C global variables at a particular address:

A reference to gcc linker documentation: