view make/linux/makefiles/build_vm_def.sh @ 3953:77e1a9153757

7091545: hs23 - set hotspot version & build number Reviewed-by: tonyp, never, phh, jmasa
author jcoomes
date Fri, 16 Sep 2011 21:35:06 -0700
parents a5610f0862fe
children da0999c4b733
line wrap: on
line source

#!/bin/sh

# If we're cross compiling use that path for nm
if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
NM=$ALT_COMPILER_PATH/nm
else
NM=nm
fi

$NM --defined-only $* | awk '
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
   '