LoongArch: Add DT_RELR support

Alan Modra amodra@gmail.com
Sat Jul 6 08:52:33 GMT 2024


Fix commit d89ecf33ab testsuite breakage.

	* testsuite/lib/binutils-common.exp (supports_dt_relr): Correct.

diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index ce7413a77e5..cffd9cfe290 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -473,8 +473,8 @@ proc supports_dt_relr {} {
     if { ([istarget x86_64-*-*]
 	  || [istarget i?86-*-*]
 	  || [istarget powerpc64*-*-*]
-	  || [istarget aarch64*-*-*])
-	  || [istarget loongarch64*-*-*]
+	  || [istarget aarch64*-*-*]
+	  || [istarget loongarch64*-*-*])
 	 && ([istarget *-*-linux*]
 	     || [istarget *-*-gnu*]) } {
 	return 1

-- 
Alan Modra


More information about the Binutils mailing list