Question on symbol versioning

Amker.Cheng amker.cheng@gmail.com
Fri Aug 20 04:41:00 GMT 2010


>
> It's just convention.  The other names come from the version script or
> from the versions attached to the symbol names.  There is no particular
> name to associate with the base version, so the linker uses SONAME or
> the name of the output flie.

Thanks
>
>
> What does readelf -V print for your executable?
>
No, There is no versioning information in test.so. the output is like

mipsel-linux-gnu-ld -shared test.o -o test.so
mipsel-linux-gnu-readelf.exe -V test.so
-----------------------
No version information found in this file.

I guess it's reasonable, since I didn't statically link to libc.so before.

-- 
Best Regards.



More information about the Binutils mailing list