diff options
author | Shantonu Sen <ssen@opendarwin.org> | 2006-04-26 19:13:18 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-04-26 19:13:18 +0000 |
commit | 0c3f35451c3fe2072fb918c1387167d996dfd1fe (patch) | |
tree | e06578a6b11155970b8f76b9228d0bee03852893 | |
parent | 52d094062c037e979ebbc2f4ed4edd793564c2d3 (diff) | |
download | gcc-0c3f35451c3fe2072fb918c1387167d996dfd1fe.zip gcc-0c3f35451c3fe2072fb918c1387167d996dfd1fe.tar.gz gcc-0c3f35451c3fe2072fb918c1387167d996dfd1fe.tar.bz2 |
re PR libstdc++/26513 (make_exports.pl hardcoded to build nm)
2006-04-26 Shantonu Sen <ssen@opendarwin.org>
PR libstdc++/26513
* scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.
From-SVN: r113281
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/scripts/make_exports.pl | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 27437c5..e98e4b5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/libstdc++-v3/scripts/make_exports.pl b/libstdc++-v3/scripts/make_exports.pl index 5d1cd74..a20b2dc 100644 --- a/libstdc++-v3/scripts/make_exports.pl +++ b/libstdc++-v3/scripts/make_exports.pl @@ -87,10 +87,10 @@ my $cxx_regex = (join '|',@cxx_globs); # 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>) { |