Renaming all symbols in libmp(3)
Daniel Eischen
deischen at freebsd.org
Thu Feb 26 10:31:15 PST 2009
On Thu, 26 Feb 2009, Ed Schouten wrote:
> * Daniel Eischen <deischen at freebsd.org> wrote:
>> Why don't you add symbol versioning to libmp, so that old
>> binaries will still work, but new ones will get the new
>> symbols by default. Hmm, will that work without bumping
>> SHLIB_MAJOR? You might want to play around with it and
>> see.
>
> Well, even without symbol versioning this could be done, by just making
> a __strong_reference() between the symbols, but I decided not to do so.
> I think solutions like these are perfect when just renaming/removing a
> couple of symbols, but because we're basically touching everything, I
> thought we'd better just use the old approach.
Well, as long as you're in there, maybe you should add
symbol versioning anyway, even after a library version
bump. Seems like it would be easy since there aren't
that many symbols.
--
DE
More information about the freebsd-hackers
mailing list