12 ms·
Could you go in a bit more about how this is done? The only way I can think of this working is if the symbols are exported in the lib file but not exposed in a
by anitil 5y ago
Could you go in a bit more about how this is done?
The only way I can think of this working is if the symbols are exported in the lib file but not exposed in a header. Is that what you mean?
- lathiat 5y agoThat's basically it, this might help: http://peeterjoot.com/2019/09/20/an-example-of-linux-glibc-symbol-versioning/ http://peeterjoot.com/2019/09/20/an-example-of-linux-glibc-s...
- JoshTriplett 5y agoThat's part of it. The other half is that whenever you link the library, you get the current version of each symbol, so it's possible to change the behavior of a new version while preserving a bug-compatible previous version. There's an extensive mapping that provides the symbols for ranges of versions.