2010-03-09 19:02:39 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-08-03 12:13:38 +00:00
|
|
|
# If we're cross compiling use that path for nm
|
|
|
|
if [ "$ALT_COMPILER_PATH" != "" ]; then
|
|
|
|
NM=$ALT_COMPILER_PATH/nm
|
|
|
|
else
|
|
|
|
NM=nm
|
|
|
|
fi
|
|
|
|
|
|
|
|
$NM --defined-only $* | awk '
|
2010-03-09 19:02:39 +00:00
|
|
|
{ if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
|
|
|
|
'
|