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).
This commit is contained in:
parent
a493dcd8ba
commit
71128bd7a9
3 changed files with 20 additions and 0 deletions
|
@ -90,6 +90,8 @@ vax.h
|
||||||
Things-to-lose:
|
Things-to-lose:
|
||||||
|
|
||||||
.cvsignore
|
.cvsignore
|
||||||
|
make_hp_order_obj
|
||||||
|
make_solaris_order_map
|
||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
|
|
10
gprof/make_hp_order_obj
Executable file
10
gprof/make_hp_order_obj
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/csh -f
|
||||||
|
# $1 is the file containing the function ordering
|
||||||
|
# $2 is the output file
|
||||||
|
|
||||||
|
echo ' .SPACE $TEXT$' > /tmp/$$.s
|
||||||
|
foreach func (`cat $1`)
|
||||||
|
echo " .NSUBSPA $func,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY" >> /tmp/$$.s
|
||||||
|
end
|
||||||
|
|
||||||
|
gcc -c /tmp/$$.s -o $2
|
8
gprof/make_solaris_order_map
Executable file
8
gprof/make_solaris_order_map
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/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
|
Loading…
Add table
Reference in a new issue