This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Raise errors from ELF constructors


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]