1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-05 00:02:41 +03:00
Files
glibc/elf/dl-tunables.c
Adhemerval Zanella 2ebfb31b35 elf: Fix tunable handing with clang
Recent clang version optimizes some loops contructions to strlen [1],
which might generate function calls when self-relocation is not
already done (on tunable parsing).  Use an out-of-line function
with __attribute_optimization_barrier__ to avoid this.

[1] facd7dfc80

Reviewed-by: Sam James <sam@gentoo.org>
2025-10-21 09:26:04 -03:00

12 KiB