<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><br><span class="tab">    Thanks for the tip. It can be done but this way it's still more cumbersome than it used to be. It was just a loop with a call to getPath inside. Now I have to find the proper ELF type (because ELFFile is a template class) and then manually extract the dependencies. Those wrappers were extremely useful in delegating all this work. Are you sure there's no way we can restore these functions?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: serif; background-color: transparent; font-style: normal;"><br><span class="tab"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: serif; background-color: transparent; font-style: normal;"><span class="tab">    Regards,</span></div><div style="color:
 rgb(0, 0, 0); font-size: 16px; font-family: serif; background-color: transparent; font-style: normal;"><span class="tab">    Dimitar</span><br><span class="tab">    <br></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, August 11, 2014 3:07 PM, Rafael Espíndola <rafael.espindola@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On 11 August 2014 10:59, Dimitar Dobrev <<a shape="rect" ymailto="mailto:dpldobrev@yahoo.com" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<div class="yqt9760372117" id="yqtfd66484"><br
 clear="none">><br clear="none">>     Hello Raphael,<br clear="none">><br clear="none">>     I am Dimitar Dobrev, the person Joao refers to. I need<br clear="none">> needed_library_begin/end to obtain the dependencies of ELF libraries.<br clear="none">> needed_library_begin has a bug I was able to fix today (I'll be glad to send<br clear="none">> a patch) just to find out it's been deleted. Since I wasn't able to find<br clear="none">> their exact equivalents in your suggestion of ELFFile, would it be a problem<br clear="none">> to restore those? I think it's useful being able to read the dependencies of<br clear="none">> a library. I'd be glad to tell you about our (mine and Joao's) particular<br clear="none">> use case if you're interested.</div><br clear="none"><br clear="none">You can find the ELFFile code in the bits the patch is deleting.  The<br clear="none">interface was forwarding to
 ELFFile and asserting on COFF and MachO,<br clear="none">which doesn't seem like a very useful addition over using ELFFile<br clear="none">directly.<br clear="none"><br clear="none">You can also check  ELFDumper<ELFT>::printNeededLibraries() in llvm-readobj.<br clear="none"><br clear="none">Cheers,<br clear="none">Rafael<div class="yqt9760372117" id="yqtfd48876"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>