libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libunwind] dl_iterate_phdr() and libunwind


From: Arun Sharma
Subject: [libunwind] dl_iterate_phdr() and libunwind
Date: Thu, 11 May 2006 17:49:51 -0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051011)

Hi David,

I just realized that libunwind doesn't work on statically linked binaries on x86-64. The reason is that dl_iterate_phdr() is not implemented for statically linked binaries.

But there are some comments in:

src/dwarf/Gfind_proc_info-lsb.c

  else
    /* Otherwise this is a static executable with no _DYNAMIC.  Assume
       that data-relative addresses are relative to 0, i.e.,
       absolute.  */

which seems to indicate it worked on some platform. Do you know which platforms had dl_iterate_phdr() working for statically linked binaries?

        -Arun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]