OSDN Git Service

turn down allowed image size
[android-x86/build.git] / core / filter_symbols.sh
1 NM=$1
2
3 shift
4
5 PREFIX=$1
6
7 shift
8
9 SUFFIX=$1
10
11 shift
12
13 while test "$1" != ""
14 do
15     $NM -g -fp $1 | while read -a line
16     do
17         type=${line[1]}
18         # if [[ "$type" != "V" && "$type" != "U" ]]; then
19         #if [[ "$type" != "W" && "$type" != "V" && "$type" != "U" ]]; then
20             echo "$PREFIX${line[0]}$SUFFIX # ${line[1]}"
21         #fi
22     done
23
24     shift
25 done