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 26/01/17 12:15, Florian Weimer wrote:
> Maybe we should just change the definition of RTLD_DEFAULT and RTLD_NEXT, to something like this:
> 
> #define RTLD_DEFAULT ((void *) ((unsigned long) &__dso_handle | 1)))
> #define RTLD_NEXT ((void *) ((unsigned long) &__dso_handle | 3)))

i think these should be constants that can be
copied and passed around between modules.


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