<div dir="ltr">You can use the gdb remote get auxv command I think to get libvdso load address.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 3:28 PM, Tamas Berghammer <span dir="ltr"><<a href="mailto:tberghammer@google.com" target="_blank">tberghammer@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">In <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10800-23196543&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XrPJ8eXoDempkAU7dNqAjRes65ZUpWprvdBYQyDnvl0&s=LUboNGC2nG3PQxO4r_06aQOMEIJkE6SgrbXeavSymWo&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10800#196543</a>, @vharron wrote:<br>
<br>
> If you've fixed vdso handling,  shouldn't some i386 tests be marked as passing?<br>
<br>
<br>
</span>It is fixing it only on Android. There is a different between how the linker works on Linux and on Android and we need to solve one more additional issue to fix it on Linux also but it isn't trivial.<br>
<br>
The problem is that the Linux linker don't fill in the file path in the rendezvous structure for the [vdso] because it isn't a file (it is treated as a feature in the code) but currently we use that path to find the load address of the file (based on /proc/<pid>/maps). To fix the issue on Linux also we need an other way to get the load address of an SO.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10800&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XrPJ8eXoDempkAU7dNqAjRes65ZUpWprvdBYQyDnvl0&s=iEUNOJNCDM8uqv9ECx6v_RuwSZftlv77lPoBsUsbWzQ&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10800</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_settings_panel_emailpreferences_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XrPJ8eXoDempkAU7dNqAjRes65ZUpWprvdBYQyDnvl0&s=XKixp62ecKOkg1B4D1W22N1IP5lqypDBxtZdH5t2gJA&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>