view make/linux/makefiles/build_vm_def.sh @ 1978:2ca799d83d3c

Merge
author ohair
date Tue, 30 Nov 2010 18:10:20 -0800
parents 126ea7725993
children a5610f0862fe
line wrap: on
line source

#!/bin/sh

# 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 '
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
   '