view make/solaris/makefiles/build_vm_def.sh @ 21166:f383ff4c9af8

mx: fix JDK selection when running outside a tty, capture STRICT_COMPLIANCE from the env file, make sure raw_input promt goes to stdout
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Thu, 30 Apr 2015 20:29:27 +0200
parents da0999c4b733
children
line wrap: on
line source

#!/bin/sh

/usr/ccs/bin/nm -p $* \
    | awk '{
          if ($2 == "U") next
          if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
          if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
          if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
          }' \
    | sort -u