LoongArch: Add DT_RELR support

Xi Ruoyao xry111@xry111.site
Sat Jul 6 09:02:55 GMT 2024


On Sat, 2024-07-06 at 18:22 +0930, Alan Modra wrote:
> 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

Oh sorry.  I indeed made this wrong.  But strangely when I run "make
check" there seems no bad thing happening so I didn't noticed...

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Binutils mailing list