diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 89c781745b7af5559474375a9467318f3f45b7db..5175d512d52d3adf0760fbbf61902372c5e64b7d 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 8d7ccc3ebb2c1603f09505249c6f1ec6c005696c..d0875781dc6851fc848b6eb1594357d2534bdc65 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/);