From: H.J. Lu Date: Mon, 20 Jul 2015 19:18:06 +0000 (-0700) Subject: Update testsuite/pr18689.sh for older GCC X-Git-Tag: users/ARM/embedded-binutils-2_26-branch-2016q1~1308 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45972d00747459a447f7e84891ed6a3367565f24;p=thirdparty%2Fbinutils-gdb.git Update testsuite/pr18689.sh for older GCC Older GCC, like 4.2, generates .debug_macinfo section instead of .debug_macro section. This patch updates testsuite/pr18689.sh to support it. --- diff --git a/gold/testsuite/pr18689.sh b/gold/testsuite/pr18689.sh index 822ed117329..9ca1dfb634e 100755 --- a/gold/testsuite/pr18689.sh +++ b/gold/testsuite/pr18689.sh @@ -23,6 +23,6 @@ set -e -egrep -q "..debug_macro[ ]+*" pr18689.stdout +egrep -q "..debug_mac[ro|info][ ]+*" pr18689.stdout exit 0