+18
−2
+1
−0
+35
−0
src/test/e2e/libsymver.cpp
0 → 100644
+25
−0
src/test/e2e/libsymver.map
0 → 100644
+2
−0
Loading
find_in_dso() took the first symbol of a name and never read DT_VERSYM,
so a library with name@OLD and name@@DEFAULT could bind the old one.
alsa-lib does this for the pre-0.9 hw_params API: callers passed
pointers where values were expected, snd_pcm_hw_params() ended in
EINVAL and QEMU's AC97 had no voices.
Within an object the default version is now preferred, in either hash
chain order. A name with only hidden versions still resolves as before.
Versions asked for by the caller (and dlvsym) are still not matched.
e2e_symver tests relocations and dlsym.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>