Skip to content

A collection of small examples demonstrating various linker features

License

Notifications You must be signed in to change notification settings

emersion/what-does-a-linker-do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

what-does-a-linker-do

A collection of small examples demonstrating various linker features.

  • Aliases: define multiple symbols with the same address
  • Dynamic export control: provide a strict list of exported dynamic symbols
  • Dynamic relocation: link at load-time a symbol from a shared library
  • Encapsulation script: mark symbols local or global with a script
  • Interposition: wrap function calls to a shared library with a cutstom function
  • Introspection: guess the type of a pointer
  • Load time substitution: replace a shared library with another one at load-time
  • Memory layout script: change the executable memory layout with a script
  • Merge sections
  • Multiple weak definitions: link with multiple definitions of the same symbol
  • Optional weak definition: allow missing symbols
  • Run path: specify shared libraries paths directly in the executable
  • Static relocation: link at compile-time a symbol from a static library
  • String suffix merge: optimization when multiple strings have the same suffix
  • Versioning: build a shared library with versioned symbols
  • Visibility archive: set symbol visibility when building an archive
  • Visibility attributes: make symbols local or global with attributes

License

MIT

About

A collection of small examples demonstrating various linker features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy