On Tue, Sep 20, 2016 at 11:08 AM, Mark Kettenis <mark.kette...@xs4all.nl> wrote:
> So my diff that switched libunwind to use dl_unwind_find_exidx() was
> incomplete.  I forgot that I had put its prototype in <dlfcn.h> and
> missed that file when generating the diff.  However, <dlfcn.h> isn't
> really the right place to put the prototype.  We have
> dl_iterate_phdr() in <link_elf.h>, and dl_unwind_find_exidx() is
> closely realted to that function.  In addition to that FreeBSD has it
> there as well.  Well actually, they have <sys/link_elf.h>..  So that's
> why I include <link.h> to get the prototype, which include
> <link_elf.h> on OpenBSD and NetBSD and <sys/link_elf.h> on FreeBSD.
> ok?

I can believe that story.  ok guenther@

Reply via email to