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]

ELF linking question related to symbol collisions


I've got a program which links (indirectly) to two DSOs which define the same function. Is it guaranteed that ld.so resolves a symbol reference to the topologically closest definition (from its own dependency graph), or will ld.so pick a definition more or less at random?

--
Florian Weimer / Red Hat Product Security Team


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