Re: [patch] --filter option in ld: srcfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* PODOPLELOV Andrei:

> I believe it would be beneficial to change it to something like:
>
>        --filter=name
>            When creating an ELF shared object (a "filter"), set the
>            internal DT_FILTER field to the specified name - another
>            ELF shared object (a "filtee"). This tells the dynamic linker
>            that the symbol table of the "filter" should be used to
>            select a subset of the symbols provided by the "filtee".
>
>            When you link a program against this "filter" and run it,
>            the dynamic linker will see the DT_FILTER field and resolve
>            symbols according to the symbol table of the "filter" object
>            as usual. However, when a certain symbol of the "filter" is
>            also present in "filtee", it will actually link to the
>            definition in the "filtee".

I think that's still misleading because to my knowledge, glibc does not
implement any filtering.  Only the symbol search order is changed (what
you describe in the second paragraph).

Thanks,
Florian




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux