This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix ld-plugin test
- From: "Kirill A. Shutemov" <kirill at shutemov dot name>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 2 Nov 2010 15:53:20 +0200
- Subject: Fix ld-plugin test
One of ld-plugin tests fails if CFLAGS doesn't contain -g.
Let's fix it by relaxing dump pattern.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
---
plugin-6.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-plugin/plugin-6.d b/ld/testsuite/ld-plugin/plugin-6.d
index cb9257d..d107d29 100644
--- a/ld/testsuite/ld-plugin/plugin-6.d
+++ b/ld/testsuite/ld-plugin/plugin-6.d
@@ -26,6 +26,6 @@ hook called: claim_file tmpdir/text.o \[@0/.* not claimed
#...
hook called: all symbols read.
tmpdir/main.o: In function `main':
-.*ld/testsuite/ld-plugin/main.c:12: undefined reference to `func'
+.*main.c.*: undefined reference to `func'
hook called: cleanup.
#...
--
Kirill A. Shutemov