mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
71128bd7a9
really don't want to distribute them as part of gprof (not without major work).
11 lines
248 B
Tcsh
Executable File
11 lines
248 B
Tcsh
Executable File
#!/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
|