1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/make/solaris/makefiles/build_vm_def.sh Wed Apr 27 01:25:04 2016 +0800 1.3 @@ -0,0 +1,10 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +/usr/ccs/bin/nm -p $* \ 1.7 + | awk '{ 1.8 + if ($2 == "U") next 1.9 + if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" 1.10 + if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";" 1.11 + if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";" 1.12 + }' \ 1.13 + | sort -u