On Mon, Apr 12, 2021 at 02:15:16PM +0200, Martin Liška wrote:
> The old syntax with the alias is quite ugly..
Not that much. And users have no other option (besides inline asm
but that doesn't work with LTO well).
> > so that people who don't have gcc configured against
> > binutils 2.35 or newer know what to do instead.
>
> ... and symver support for older binutils releases is fragile due to:
>
> Changes in 2.35:
>
> * Extend .symver directive to update visibility of the original symbol
> and assign one original symbol to different versioned symbols.
That is a change that allows the new syntax.
The old syntax (on the as/ld side) have worked for the last 20+ years
just fine.
Jakub