Fix build on Solaris (2)
diff mbox

Message ID
State New
Headers show

Commit Message

Eric Botcazou July 8, 2010, 7:15 p.m. UTC
The build aborts with Sun ld/GNU nm because chockes on

.LLC0 r 00000000

from libgomp/alloc.o.

The attached patchlet is sufficient to restore it and presumably doesn't break 
with Sun nm.  Tested on SPARC/Solaris, installed on the mainline as obvious.

2010-07-08  Eric Botcazou  <>

	* Remove extra whitespace in regexp.

diff mbox

---	(revision 161944)
+++	(working copy)
@@ -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/);