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: Is it a GNU Tools failure that PIE use ET_DYN and can't be distinguished from libraries?


On 03/16/2015 06:31 PM, Mike Frysinger wrote:
> i don't think ET_DYN vs ET_EXEC matters.  some main executables export their 
> symbols so that they can be found by plugins they load later on, not so that 
> other things can dlopen them directly.  off the top of my head, iproute2 does 
> exactly this.

Even GDB does this, so that glibc's libthread_db.so, which is dlopened by
gdb, can find some gdb symbols it needs call (gdb/proc-service.list).

Thanks,
Pedro Alves


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