From 45972d00747459a447f7e84891ed6a3367565f24 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 20 Jul 2015 12:18:06 -0700 Subject: [PATCH] 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. --- gold/testsuite/pr18689.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2