make_exports.pl: Pass --strip-underscores to c++filt.

2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>

        * scripts/make_exports.pl: Pass --strip-underscores to c++filt.

From-SVN: r102595
This commit is contained in:
Andrew Pinski 2005-07-30 22:46:25 +00:00 committed by Andrew Pinski
parent 0bde02b339
commit 31537df3e5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
* scripts/make_exports.pl: Pass --strip-underscores to c++filt.
2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
PR libstdc++/22284

View File

@ -92,7 +92,7 @@ my %export_hash = ();
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") or die $!;
open2(*FILTIN, *FILTOUT, "c++filt --strip-underscores") or die $!;
NAME: while (<NM>) {
my $i;
chomp;