From 885d86436c3f9ab0a13f39647860b526faa92cf8 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 16 Nov 2022 16:28:01 +0100 Subject: section-select: Fix exclude-file-3 this testcase wasn't correctly testing everything, it passed, even though sections from an excluded file were included. Fixing this reveals a problem in the new section selector. This fixes that as well. --- ld/testsuite/ld-scripts/exclude-file-3.map | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ld/testsuite') diff --git a/ld/testsuite/ld-scripts/exclude-file-3.map b/ld/testsuite/ld-scripts/exclude-file-3.map index 389d170..2551820 100644 --- a/ld/testsuite/ld-scripts/exclude-file-3.map +++ b/ld/testsuite/ld-scripts/exclude-file-3.map @@ -3,5 +3,7 @@ EXCLUDE_FILE\(\*-b\.o\) \*\(\.data \.data\.\*\) \.data +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o \.data\.1 +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o +#failif +.*data +0x[0-9a-f]+ +0x[0-9a-f]+ .*exclude-file-b.* -#... \ No newline at end of file +#... -- cgit v1.1