make_exports.pl: Use -_ rather than --strip-underscores or --strip-underscore.

* scripts/make_exports.pl: Use -_ rather than --strip-underscores
	or --strip-underscore.

From-SVN: r117742
This commit is contained in:
Geoffrey Keating 2006-10-15 07:52:18 +00:00 committed by Geoffrey Keating
parent 5b043f0845
commit 9d6968a4da
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;