old-cross-binutils/gprof/make_solaris_order_map
Jeff Law 71128bd7a9 Just so we have them checked in somewhere; they're sanitized away as we
really don't want to distribute them as part of gprof (not without major
work).
1995-12-31 06:28:22 +00:00

8 lines
231 B
Tcsh
Executable file

#!/bin/csh -f
# $1 is the file containing the function ordering
# $2 is the output file (a linker map file for the solaris native linker)
echo 'text = LOAD ?RXO;' > $2
foreach func (`cat $1`)
echo "text: .text%$func;" >> $2
end