On Wed, 4 May 2022, Martin Liška wrote: > On 5/4/22 14:32, Alexander Monakov wrote: > > On Wed, 4 May 2022, Martin Liška wrote: > > > >> The patch is a follow-up of the discussion we've got in: > >> https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593901.html > >> > >> Mold linker would appreciate knowing in advance if get_symbols_v3 is > >> supported > >> by a GCC plug-in or not.
Out of curiousity, I looked at mold, and I don't understand what problem this detection is solving, nor why this is the best way to solve that. Was there some discussion with mold author I should check out? Note that mold takes this not only as 'v3 API is supported', but, more importantly, as 'v2 entrypoint will not be called'. Alexander