This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]