mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
x86: In ld.so, diagnose missing APX support in APX-only builds
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>
This commit is contained in:
parent
049b7684c9
commit
b62928f907
@ -64,6 +64,11 @@ Fatal glibc error: CPU does not support x86-64-v%d\n", 4);
|
||||
# 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) */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user