hotspot/make/bsd/makefiles/build_vm_def.sh
author rbackman
Tue, 26 Mar 2013 15:00:34 +0100
changeset 16444 e9cfab742724
parent 10565 dc90c239f4ec
child 18431 f801ce7e5c12
permissions -rw-r--r--
8009382: Add JVM_Get{Field|Method}TypeAnnotations Reviewed-by: dcubed, rbackman Contributed-by: Joel Borggren-Franck <joel.franck@oracle.com>

#!/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 ";" }
   '