+2006-04-26 Shantonu Sen <ssen@opendarwin.org>
+
+ PR libstdc++/26513
+ * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.
+
2006-04-23 Marc Glisse <marc.glisse@normalesup.org>
PR libstdc++/27199
# Get all the symbols from the library, match them, and add them to a hash.
my %export_hash = ();
-
+my $nm = $ENV{'NM_FOR_TARGET'} || "nm";
# Process each symbol.
-print STDERR 'nm -P '.(join ' ',@ARGV).'|';
-open NM,'nm -P '.(join ' ',@ARGV).'|' or die $!;
+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 $!;
NAME: while (<NM>) {