summaryrefslogblamecommitdiff
path: root/system/binutils/fix-pr28158-test.patch
blob: 2fade95933ae6a6319643cf79225f7a5c98df9ba (plain) (tree)





























                                                                                      
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)