mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-12 06:26:17 +00:00
71128bd7a9
really don't want to distribute them as part of gprof (not without major work).
9 lines
231 B
Tcsh
Executable File
9 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
|