mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-19 11:30:12 +08:00
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
This commit is contained in:
parent
52d094062c
commit
0c3f35451c
@ -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>
|
2006-04-23 Marc Glisse <marc.glisse@normalesup.org>
|
||||||
|
|
||||||
PR libstdc++/27199
|
PR libstdc++/27199
|
||||||
|
@ -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.
|
# Get all the symbols from the library, match them, and add them to a hash.
|
||||||
|
|
||||||
my %export_hash = ();
|
my %export_hash = ();
|
||||||
|
my $nm = $ENV{'NM_FOR_TARGET'} || "nm";
|
||||||
# Process each symbol.
|
# Process each symbol.
|
||||||
print STDERR 'nm -P '.(join ' ',@ARGV).'|';
|
print STDERR $nm.' -P '.(join ' ',@ARGV).'|';
|
||||||
open NM,'nm -P '.(join ' ',@ARGV).'|' or die $!;
|
open NM,$nm.' -P '.(join ' ',@ARGV).'|' or die $!;
|
||||||
# Talk to c++filt through a pair of file descriptors.
|
# Talk to c++filt through a pair of file descriptors.
|
||||||
open2(*FILTIN, *FILTOUT, "c++filt --strip-underscores") or die $!;
|
open2(*FILTIN, *FILTOUT, "c++filt --strip-underscores") or die $!;
|
||||||
NAME: while (<NM>) {
|
NAME: while (<NM>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user