Adds a definition of HWCAP_ATOMICS and HWCAP2_RNG in the test file for the
case that the glibc is old enough to not include them.
PR target/122405
gcc/testsuite/ChangeLog:
* g++.target/aarch64/mv-cpu-features.C: Add HWCAP_ATOMICS and
HWCAP2_RNG defines.
#define _IFUNC_ARG_HWCAP (1ULL << 62)
#endif
+#ifndef HWCAP_ATOMICS
+#define HWCAP_ATOMICS (1 << 8)
+#endif
+
+#ifndef HWCAP2_RNG
+#define HWCAP2_RNG (1 << 16)
+#endif
+
extern "C" void
__init_cpu_features_resolver (unsigned long hwcap, const ifunc_arg_t *arg);