This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Symbol versioning question..


Weakness doesn't really matter for the shared library.  To use .symver
(i.e. versioned_symbol macro) twice, you have to add an alias for the
purpose:

versioned_symbol (libc, __mcount, _mcount, GLIBC_2_18)
strong_alias (__mcount, __mcount_compat)
versioned_symbol (libc, __mcount_compat, mcount, GLIBC_2_17)


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