Is it a GNU Tools failure that PIE use ET_DYN and can't be distinguished from libraries?
Pedro Alves
palves@redhat.com
Tue Mar 17 09:54:00 GMT 2015
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
More information about the Libc-alpha
mailing list