about summary refs log tree commit diff
path: root/sysdeps/loongarch/configure.ac
diff options
context:
space:
mode:
authordengjianbo <dengjianbo@loongson.cn>2023-08-08 14:15:43 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-08-14 09:47:09 +0800
commitcb7954c4c2f46e5da5374c75576612c9b02b2592 (patch)
treeae31a4da26ee1dd4be1d7dedcce4b54d336fda12 /sysdeps/loongarch/configure.ac
parent57b2c14272998c0ea08c005edbd90887c2d5fa6b (diff)
downloadglibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.tar.gz
glibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.tar.xz
glibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.zip
LoongArch: Add minuimum binutils required version
LoongArch glibc can add some LASX/LSX vector instructions codes,
change the required minimum binutils version to 2.41 which could
support vector instructions. HAVE_LOONGARCH_VEC_ASM is removed
accordingly.
Diffstat (limited to 'sysdeps/loongarch/configure.ac')
-rw-r--r--sysdeps/loongarch/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/loongarch/configure.ac b/sysdeps/loongarch/configure.ac
index ba89d8346d..989287c6d2 100644
--- a/sysdeps/loongarch/configure.ac
+++ b/sysdeps/loongarch/configure.ac
@@ -74,6 +74,6 @@ else
   libc_cv_loongarch_vec_asm=no
 fi
 rm -f conftest*])
-if test $libc_cv_loongarch_vec_asm = yes; then
-  AC_DEFINE(HAVE_LOONGARCH_VEC_ASM)
+if test $libc_cv_loongarch_vec_asm = no; then
+  AC_MSG_ERROR([binutils version is too old, use 2.41 or newer version])
 fi