You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
231 B

#!/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