Fix bug preventing ld testsuite from running

This commit is contained in:
Nick Clifton 2022-05-19 14:13:15 +01:00
parent b223b873be
commit 107db84d77
2 changed files with 4 additions and 3 deletions

View File

@ -973,7 +973,7 @@ diff -rup binutils.orig/ld/testsuite/lib/ld-lib.exp binutils-2.38/ld/testsuite/l
return 1 return 1
} }
+ if [istarget "i[3-6]86-*-*"] } { + if [istarget "i[3-6]86-*-*"] {
+ return 1 + return 1
+ } + }
+ +

View File

@ -374,6 +374,9 @@ Requires(post): coreutils
BuildRequires: elfutils-debuginfod-client-devel BuildRequires: elfutils-debuginfod-client-devel
%endif %endif
# The priority of the linker. Important oif the gold linker is also being built.
%{!?ld_bfd_priority: %global ld_bfd_priority 50}
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%description %description
@ -389,8 +392,6 @@ of an object or archive file), strings (for listing printable strings
from files), strip (for discarding symbols), and addr2line (for from files), strip (for discarding symbols), and addr2line (for
converting addresses to file and line). converting addresses to file and line).
%{!?ld_bfd_priority: %global ld_bfd_priority 50}
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package devel %package devel