mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
|
#!/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
|