top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Compiler : What is meaning of the term trampoline arrangement in case of library ?

0 votes
269 views

While reading shared library and PLT (Procedure Linkage Table) I came under a term Trampolines arrangement.

can any one share some info on it ?

posted Jul 9, 2014 by Sachidananda Sahu

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

The PLT is part of the executable text section, consisting of a set of entries (one for each external function the shared library calls). Each PLT entry is a short chunk of executable code.

Instead of calling the function directly, the code calls an entry in the PLT, which then takes care to call the actual function. This arrangement is called a trampoline.

Source: http://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-shared-libraries/

answer Jul 9, 2014 by Salil Agrawal
Similar Questions
0 votes

I came under a term "address space layout randomization" ? What is the meaning of it ?

Can any one give any example on it how it works and what happens in this feature ?

+1 vote

I want to build my own library in C, can someone help me with this?

...