send2vinnie / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

Remove un-referred symbols (dangling symbols to which no relocations refer) #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Drepper [1] though there is a lot of potential for optimizing relocation 
process. Because he observed relocation processing dominates the startup cost 
with more than 50%
  * The process is asymptotically at least O( R + nr). R: #(relative relocations), r: #(named relocations), n: #(participating DSO)
  * The number of DT_NEEDED also affects loading time
  * We can eliminate the number of relocations by removing un-refered symbols. (Both R and r)

Original issue reported on code.google.com by LubaTang on 8 Jan 2013 at 9:25

GoogleCodeExporter commented 9 years ago
Reference
[1] Ulrich Drepper, "How to Write Shared Libraries," 
http://www.akkadia.org/drepper/dsohowto.pdf

Original comment by LubaTang on 8 Jan 2013 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 2 Apr 2014 at 8:39