summaryrefslogtreecommitdiff
path: root/system/binutils/fix-pr28158-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/binutils/fix-pr28158-test.patch')
-rw-r--r--system/binutils/fix-pr28158-test.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/system/binutils/fix-pr28158-test.patch b/system/binutils/fix-pr28158-test.patch
new file mode 100644
index 000000000..2fade9593
--- /dev/null
+++ b/system/binutils/fix-pr28158-test.patch
@@ -0,0 +1,30 @@
+Upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=30905
+
+From 221e4f9b4ac4e6d4e362fdadf7f86a8b0df94d47 Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Tue, 26 Sep 2023 00:26:06 -0500
+Subject: [PATCH] elf: Adjust PR ld/28158 tests
+
+PR ld/28158
+ * testsuite/ld-elf/pr28158.rd: ensure symbol indexes containing
+ the number 0 match in regex
+
+Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
+---
+ ld/testsuite/ld-elf/pr28158.rd | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ld/testsuite/ld-elf/pr28158.rd b/ld/testsuite/ld-elf/pr28158.rd
+index b3cfe8915cb..c2cef7a0b39 100644
+--- a/ld/testsuite/ld-elf/pr28158.rd
++++ b/ld/testsuite/ld-elf/pr28158.rd
+@@ -3,5 +3,5 @@
+ #target: x86_64-*-linux* i?86-*-linux-gnu
+
+ #...
+- +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo@VERS_2.0 \([0-9]+\)
++ +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo@VERS_2.0 \([0-9]+\)
+ #pass
+--
+2.39.2 (Apple Git-143)
+