mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-27 20:54:37 +03:00
Add copyright.
Output tabs, not spaces.
This commit is contained in:
parent
dffb87e481
commit
6f5feb27cd
@ -1,9 +1,14 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# Copyright (c) 2003, Pavel Roskin
|
||||
# This script is Free Software, and it can be copied, distributed and
|
||||
# modified as defined in the GNU General Public License. A copy of
|
||||
# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
|
||||
|
||||
# Run this script on the map with cross-reference generated by GNU ld,
|
||||
# and it will generate a list of symbols that don't need to be global.
|
||||
# To create the map, run something like this:
|
||||
# make LDFLAGS=-Wl,-Map,mc.map,--cref
|
||||
# make LDFLAGS=-Wl,-Map,output.map,--cref
|
||||
|
||||
use strict;
|
||||
|
||||
@ -42,6 +47,6 @@ close(MAP);
|
||||
foreach my $obj (sort keys %objs) {
|
||||
print "$obj\n";
|
||||
foreach my $sym (sort keys %syms) {
|
||||
print " $sym\n" if ($symbols{$sym} eq $obj);
|
||||
print "\t$sym\n" if ($symbols{$sym} eq $obj);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user