[PATCH libaio 08/26] Use new symver function attribute to support LTO builds
The LTO support cannot work properly when there are versioned symbols
via asm statements, as those are not seen by the compiler. Use the new
function attributes if supported instead of the asm statements.
We need to move the SYMVER calls after the function definitions
otherwise it will reference symbols not yet seen.
Origin: vendor
Forwarded: https://marc.info/?l=linux-aio&m=
164999309520544
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0008-Use-new-symver-function-attribute-to-support-LTO-bui.patch