diff mbox

Fix bootstrap failure with Sun linker

Message ID 201209041554.32457.ebotcazou@adacore.com
State New
Headers show

Commit Message

Eric Botcazou Sept. 4, 2012, 1:54 p.m. UTC
The generated libstdc++-symbols.ver-sun cannot be parsed by the linker anymore.

Bootstrapped on SPARC64/Solaris 9 & SPARC/Solaris 10, applied on the mainline.


2012-09-04  Eric Botcazou  <ebotcazou@adacore.com>

	* make_sunver.pl: Add missing newline at the end of extern "C++" block.
diff mbox

Patch

Index: make_sunver.pl
===================================================================
--- make_sunver.pl	(revision 190863)
+++ make_sunver.pl	(working copy)
@@ -185,7 +185,7 @@  while (<F>) {
 	$glob = 'glob';
 	if ($in_extern) {
 	    $in_extern--;
-	    print "$1##$2";
+	    print "$1##$2\n";
 	} else {
 	    print;
 	}