1static void CONSTRUCTOR_ATTRIBUTE init_have_lse_atomics(void) {
2  unsigned long hwcap;
3  int result = elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
4  __aarch64_have_lse_atomics = result == 0 && (hwcap & HWCAP_ATOMICS) != 0;
5}
6