This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: Question on symbol versioning


>
> 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.


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