]> dgit.raspbian.org Git - libaio.git/commit
[PATCH libaio 08/26] Use new symver function attribute to support LTO builds
authorGuillem Jover <guillem@hadrons.org>
Tue, 2 Nov 2021 21:37:32 +0000 (22:37 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 4 Jun 2026 18:31:38 +0000 (18:31 +0000)
commitcc324512e470aeea1f5d0f8aeae0ee042ca8f41a
tree420ba5365d73da911bba3e55b7b0dba644896a24
parent2eddabb7b6eb134dbcf36d64afaebc47032f469c
[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
src/compat-0_1.c
src/syscall.h