[PATCH] Implement dladdr() (partially)

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 8 16:04:00 GMT 2017


On Mar  8 14:24, Jon Turney wrote:
> Note that this always returns with dli_sname and dli_saddr set to NULL,
> indicating no symbol matching addr could be found.
> 
> Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
> ---
> 
> Notes:
>     Mesa 17.1 will want to use dladdr() in order to use the mtime of a loadable
>     module to control the validity of a cache, and this implementation suffices
>     for that purpose (not that this caching is implemented for llvmpipe at the
>     moment)
> 
>  winsup/cygwin/common.din      |  1 +
>  winsup/cygwin/dlfcn.cc        | 34 ++++++++++++++++++++++++++++++++++
>  winsup/cygwin/include/dlfcn.h | 18 ++++++++++++++++++
>  winsup/doc/posix.xml          |  4 ++++
>  4 files changed, 57 insertions(+)

Thwe API minor version bump is missing.  With this addition, please apply.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20170308/f6b0adca/attachment.sig>


More information about the Cygwin-patches mailing list