This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Raise errors from ELF constructors
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 9 Nov 2015 11:56:56 +0100
- Subject: Re: Raise errors from ELF constructors
- Authentication-results: sourceware.org; auth=none
- References: <5640547F dot 9050705 at redhat dot com>
On 11/09/2015 09:08 AM, Florian Weimer wrote:
> Is there a way to raise an error from an ELF constructor so that the
> error is reported by dlopen and can be inspected by dlerror?
For example, could the ELF constructor call a glibc function, which in
turns calls _dl_signal_error?
Florian