From 5e685b84f7e964c8c6b4ba5850b39485ca649d9e Mon Sep 17 00:00:00 2001
From: geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun, 15 Oct 2006 07:52:18 +0000
Subject: [PATCH] 	* scripts/make_exports.pl: Use -_ rather than
 --strip-underscores 	or --strip-underscore.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117742 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libstdc++-v3/ChangeLog               | 5 +++++
 libstdc++-v3/scripts/make_exports.pl | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3f465cf26e99..b87cb77408aa 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-15  Geoffrey Keating  <geoffk@apple.com>
+
+	* scripts/make_exports.pl: Use -_ rather than --strip-underscores
+	or --strip-underscore.
+
 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
 
 	* aclocal.m4: Regenerate.
diff --git a/libstdc++-v3/scripts/make_exports.pl b/libstdc++-v3/scripts/make_exports.pl
index a20b2dc6f4cd..7c9e4e31d4f8 100644
--- a/libstdc++-v3/scripts/make_exports.pl
+++ b/libstdc++-v3/scripts/make_exports.pl
@@ -92,7 +92,7 @@ my $nm = $ENV{'NM_FOR_TARGET'} || "nm";
 print STDERR $nm.' -P '.(join ' ',@ARGV).'|';
 open NM,$nm.' -P '.(join ' ',@ARGV).'|' or die $!;
 # Talk to c++filt through a pair of file descriptors.
-open2(*FILTIN, *FILTOUT, "c++filt --strip-underscores") or die $!;
+open2(*FILTIN, *FILTOUT, "c++filt -_") or die $!;
 NAME: while (<NM>) {
     my $i;
     chomp;
-- 
GitLab