* rth: > diff --git a/libgcc/config/aarch64/lse.c b/libgcc/config/aarch64/lse.c > new file mode 100644 > index 00000000000..20f4bde741f > --- /dev/null > +++ b/libgcc/config/aarch64/lse.c
> +static void __attribute__((constructor)) > +init_have_atomics(void) > +{ > + unsigned long hwcap = getauxval(AT_HWCAP); > + __aa64_have_atomics = (hwcap & HWCAP_ATOMICS) != 0; > +} Is there an expectation that it is possible to use the atomics in IFUNC resolvers? Then this needs an explanation why it is safe to run with the other kind of atomics until the initialization of __aa64_have_atomics has happened. (GNU style requires a space before a parenthesis, at least in a function call or function declarator.) Thanks, Florian