]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Don't falsely claim gold supported in toplevel configure
authorXi Ruoyao <xry111@xry111.site>
Wed, 21 Feb 2024 15:54:53 +0000 (23:54 +0800)
committerXi Ruoyao <xry111@xry111.site>
Fri, 23 Feb 2024 10:13:25 +0000 (18:13 +0800)
The gold linker has never been ported to LoongArch (and it seems
unlikely to be ported in the future as the new architectures are
focusing on lld and/or mold for fast linkers).

ChangeLog:

* configure.ac (ENABLE_GOLD): Remove loongarch*-*-* from target
list.
* configure: Regenerate.

configure
configure.ac

index 874966fb9f09e371af9ea19be9ffd92b9e956ec2..02b435c1163bf3b6d0361a76886b1c471f43b2b2 100755 (executable)
--- a/configure
+++ b/configure
@@ -3092,7 +3092,7 @@ case "${ENABLE_GOLD}" in
       # Check for target supported by gold.
       case "${target}" in
         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
-        | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-* | loongarch*-*-*)
+        | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
          configdirs="$configdirs gold"
          if test x${ENABLE_GOLD} = xdefault; then
            default_ld=gold
index 4f34004a0726048b4f9015117c816227527f6c24..1a19c07a27b84429bb48517ef58d157d8cb19cc8 100644 (file)
@@ -364,7 +364,7 @@ case "${ENABLE_GOLD}" in
       # Check for target supported by gold.
       case "${target}" in
         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
-        | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-* | loongarch*-*-*)
+        | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
          configdirs="$configdirs gold"
          if test x${ENABLE_GOLD} = xdefault; then
            default_ld=gold