make/linux/makefiles/build_vm_def.sh

Wed, 27 Apr 2016 01:25:04 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:25:04 +0800
changeset 0
f90c822e73f8
child 6876
710a3c8b516e
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/
changeset: 6782:28b50d07f6f8
tag: jdk8u25-b17

aoqi@0 1 #!/bin/sh
aoqi@0 2
aoqi@0 3 # If we're cross compiling use that path for nm
aoqi@0 4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then
aoqi@0 5 NM=$ALT_COMPILER_PATH/nm
aoqi@0 6 else
aoqi@0 7 NM=nm
aoqi@0 8 fi
aoqi@0 9
aoqi@0 10 $NM --defined-only $* \
aoqi@0 11 | awk '{
aoqi@0 12 if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
aoqi@0 13 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
aoqi@0 14 if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
aoqi@0 15 }' \
aoqi@0 16 | sort -u

mercurial