This is the mail archive of the libc-alpha@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: [RFC] Prevent tailcall optimizations of libdl functions


On 01/25/2017 06:28 AM, Florian Weimer wrote:
> I'd also caution against adding yet another mechanism to preserve the
> caller context.

Would you mind expanding a bit on your caution here?

It seems to me that it might be reasonable to do both the wrapper and
the compiler attribute to prevent dlsym from breaking in unexpected
ways.

-- 
Cheers,
Carlos.


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