On Mon, 24 Nov 2025, Florian Weimer wrote: > * Richard Biener: > > > On Mon, 24 Nov 2025, Jakub Jelinek wrote: > > > >> On Mon, Nov 24, 2025 at 09:33:18AM +0100, Richard Biener wrote: > >> > > Yes, it is possible. See: > >> > > > >> > > https://patchwork.sourceware.org/project/binutils/patch/came9rorn7nycxb77kffwmvo7ury89y9mms8ouyus7x9pn0b...@mail.gmail.com/ > >> > > > >> > > for how it works. > >> > > >> > Ah, nice. Of course _dl_find_object isn't versioned in the first place > >> > it seems ... which means this isn't a concern as glibc cannot change the > >> > ABI of it. > >> > >> It is versioned: > >> nm -D /lib64/libc.so.6 | grep dl_find_object > >> 0000000000144a10 T _dl_find_object@@GLIBC_2.35 > > > >> nm -D /lib64/libc.so.6 | grep dl_find_object > > 000000000017ad3e T _dl_find_object > > > > huh!? > > Very strange. However, nm from older binutils does not print version > information. Maybe that's the explanation?
I see this with binutils 2.45.0, so I guess no. But IIRC we strip more info from binaries than you, so that might confuse nm. With readelf -Wa the symbol indeed shows up as versioned. Richard. -- Richard Biener <[email protected]> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Jochen Jaser, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)
