Difference between revisions of "Ld"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (Add links to docs on how to place C global variables at a particular address.)
(Add a reference to gcc linker documentation.)
Line 20: Line 20:
 
*  https://global.epson.com/products_and_drivers/semicon/products/micro_controller/pdf/lnk_03e.pdf
 
*  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
 
*  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 -->

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: