From: Hans-Peter Nilsson Date: Sun, 23 Nov 2008 21:29:22 +0000 (+0000) Subject: * ld-cris/badgotr1.d: Robustify regexp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fc663b7a6ecbc97b567405ceb9cf60efccb7e27;p=binutils-gdb.git * ld-cris/badgotr1.d: Robustify regexp. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 8c94dc8ee56..c67a655d33b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-11-23 Hans-Peter Nilsson + + * ld-cris/badgotr1.d: Robustify regexp. + 2008-10-29 Nick Clifton * ld-gc/gc.c (dummy_func): New function - present so that diff --git a/ld/testsuite/ld-cris/badgotr1.d b/ld/testsuite/ld-cris/badgotr1.d index 7ef70366106..3e027706a13 100644 --- a/ld/testsuite/ld-cris/badgotr1.d +++ b/ld/testsuite/ld-cris/badgotr1.d @@ -2,7 +2,7 @@ #as: --pic --underscore --em=criself #ld: -m crislinux -shared #objdump: -dr -#error: ^[^c][^h][^i][^l][^d].* uses _-prefixed .* failed to merge .* no GOT .* Bad value$ +#error: \A[^\nc][^\n]*o: uses _-prefixed [^\nc]*\n[^\nc][^\n]* failed to merge [^\nc]*\n[^\nc][^\n]* no GOT [^\n]*\n[^\nc][^\n]* Bad value\Z # The error regex above is supposed to not match if we get a # SEGV, in which case we'll see "child killed: segmentation