From dccdc0070edc32cbbff6fb121d069915cfaf23bc Mon Sep 17 00:00:00 2001
From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 8 Jul 2010 19:15:21 +0000
Subject: [PATCH] 	* make_sunver.pl: Remove extra whitespace in regexp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161973 138bc75d-0d04-0410-961f-82ee72b054a4
---
 contrib/ChangeLog      | 4 ++++
 contrib/make_sunver.pl | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 89c781745b7..5175d512d52 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* make_sunver.pl: Remove extra whitespace in regexp.
+
 2010-07-02  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* check_GNU_style.sh: New.
diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl
index 8d7ccc3ebb2..d0875781dc6 100644
--- a/contrib/make_sunver.pl
+++ b/contrib/make_sunver.pl
@@ -60,7 +60,7 @@ while (<NM>) {
     next if (/:$/);
     # Ignore register (SPARC only), undefined and local symbols.  The
     # symbol name is optional; Sun nm emits none for local or .bss symbols.
-    next if (/^([^ ]+)?[ \t]+[RUa-z][ \t]+ /);
+    next if (/^([^ ]+)?[ \t]+[RUa-z][ \t]+/);
     # Ignore objects without symbol table.  Message goes to stdout with Sun
     # nm, while GNU nm emits the corresponding message to stderr.
     next if (/.* - No symbol table data/);
-- 
GitLab