repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Fix for PR 18665, from sky branch.
[binutils-gdb.git]
/
gprof
/
make_hp_order_obj
blob
ad9df2ec1c5f87fcb64a77216cfedc81d12823c2
1
#!/bin/csh -f
2
# $1 is the file containing the function ordering
3
# $2 is the output file
4
5
echo
' .SPACE
$TEXT
$'
> /
tmp
/
$$.s
6
foreach func
(
`cat
$1
`
)
7
echo
" .NSUBSPA
$func
,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY"
>> /
tmp
/
$$.s
8
end
9
10
gcc
-c
/
tmp
/
$$.s
-o
$2
11
rm
-f
/
tmp
/
$$.s