Coder Social home page Coder Social logo

emersion / what-does-a-linker-do Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 1.0 20 KB

A collection of small examples demonstrating various linker features

License: MIT License

Makefile 61.87% C 37.77% C++ 0.36%
dynamic-linking linking static-linker

what-does-a-linker-do's Introduction

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

what-does-a-linker-do's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

delthas

what-does-a-linker-do's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.