hotspot/make/linux/makefiles/build_vm_def.sh
author bobv
Tue, 03 Aug 2010 08:13:38 -0400
changeset 6176 4d9030fe341f
parent 5045 59dd2a304f1d
child 7445 57d387675180
permissions -rw-r--r--
6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes

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