aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2023-03-16 13:03:40 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2023-03-16 14:39:12 +0000
commitb7571e1e6fed2ee52143797e17fcca487e894b92 (patch)
treedf0daff545b3ffd141588c95ee8013cf4749a206 /ld
parenta8afc8a7e156edd7405008ef3ac20f96d8d27d92 (diff)
downloadgdb-b7571e1e6fed2ee52143797e17fcca487e894b92.zip
gdb-b7571e1e6fed2ee52143797e17fcca487e894b92.tar.gz
gdb-b7571e1e6fed2ee52143797e17fcca487e894b92.tar.bz2
Re: Add --enable-linker-version option
The recently-added ld-version*.d tests expect .*GNU ld \(GNU Binutils\) 2.* in the .comment section. However, when buidling --with-pkgversion=XXX, we get GNU ld (XXX) 2.[...] instead, leading to a spurious FAIL. This small patch replaces "GNU Binutils" with ".*" instead. I inspected other testcases to see if we already had similar occurrences but I couldn't see any, so I hope this fix is OK for the purpose? Thanks, Christophe
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-scripts/ld-version-2.d2
-rw-r--r--ld/testsuite/ld-scripts/ld-version.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/ld-version-2.d b/ld/testsuite/ld-scripts/ld-version-2.d
index c8738fd..c696c09 100644
--- a/ld/testsuite/ld-scripts/ld-version-2.d
+++ b/ld/testsuite/ld-scripts/ld-version-2.d
@@ -4,4 +4,4 @@
# target: [is_elf_format]
String dump of section '.comment':
-.*GNU ld \(GNU Binutils\) 2.*
+.*GNU ld \(.*\) 2.*
diff --git a/ld/testsuite/ld-scripts/ld-version.d b/ld/testsuite/ld-scripts/ld-version.d
index a55fc5e..7d1ffc5 100644
--- a/ld/testsuite/ld-scripts/ld-version.d
+++ b/ld/testsuite/ld-scripts/ld-version.d
@@ -4,4 +4,4 @@
# target: [is_elf_format]
String dump of section '.comment':
-.*GNU ld \(GNU Binutils\) 2.*
+.*GNU ld \(.*\) 2.*