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


"Amker.Cheng" <amker.cheng@gmail.com> writes:

> Well, the only question is which one the base definition is. that paragraph
> is not clear enough for me.

The base version definition in an executable or shared library is the
one with VER_FLG_BASE set in the vd_flags field of a Verdef structure in
the SHT_GNU_verdef section aka the data to which DT_VERDEF/DT_VERDEFNUM
dynamic tags point.  VER_FLG_BASE has the value 1.  There is a bit of
documentation at
http://docs.sun.com/app/docs/doc/819-0690/chapter6-93046?l=en&a=view .

Ian


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