Hello,
Could someone provide me with an updated symExtract file? I'm using the one that came with the Processor SDK installation and it's not copying the common symbols from the ibl_c66x_init.map file into the ibl_init_symbols.inc file.
This is what is inside the ibl_init_symbols.inc file :
/* File autogenerated by symExtract during build process. Do not edit */
=0x;
=0x;
=0x;
=0x;
=0x;
Here's the code inside the symExtract file :
if [ $# -lt 3 ]; then
echo usage: $0 \<input file\> \<output file\> symbol1 \[symbol2 ...\]
exit
fi
args=("$@")
rm -f $2
echo "/* File autogenerated by symExtract during build process. Do not edit */" > $2
carg=2
while [ $carg -lt $# ]; do
symbol=`cat $1 | sed -n /${args[$carg]}\$/p | sed -n 1p`
addr=`echo $symbol | sed -e s/\ .*//`
sym=`echo $symbol | sed -e s/^.*\ //`
echo $sym=0x$addr\; >> $2
let carg=carg+1
done
Thanks,
Viney