never@1729: #!/bin/sh never@1729: bobv@2036: # If we're cross compiling use that path for nm dholmes@2362: if [ "$CROSS_COMPILE_ARCH" != "" ]; then bobv@2036: NM=$ALT_COMPILER_PATH/nm bobv@2036: else bobv@2036: NM=nm bobv@2036: fi bobv@2036: bobv@2036: $NM --defined-only $* | awk ' never@1729: { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" } never@1729: '