ELF linking question related to symbol collisions

Игорь Пашев pashev.igor@gmail.com
Thu Nov 21 10:16:00 GMT 2013


2013/11/21 Carlos O'Donell <carlos@systemhalted.org>:
> Program was built with `-l1 -l2' (very important because it sequences DT_NEEDED)
>
> In this case the topological sort results in the following flat
> sequence (on x86-64):
> /lib64/ld-linux-x86-64.so.2
> /lib64/libc.so.6
> ./lib1a.so
> ./lib2a.so
> ./lib1.so
> ./lib2.so

Doesn't compiler (gcc) put libc after lib1 and lib2?



More information about the Libc-help mailing list