At this point, this is mainly a tool for testing the early ld.so
CPU compatibility diagnostics: GCC uses the new instructions in most
functions, so it's easy to spot if some of the early code is not
built correctly.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
# endif /* ISA level 4 */
# endif /* ISA level 3 */
# endif /* ISA level 2 */
+# ifdef GCCMACRO__APX_F__
+ if (!CPU_FEATURE_USABLE_P (cpu_features, APX_F))
+ _dl_fatal_printf ("\
+Fatal glibc error: CPU does not support APX\n");
+# endif
# endif /* IS_IN (rtld) */
}
}