make/linux/makefiles/build_vm_def.sh

Fri, 14 Dec 2012 10:06:52 -0800

author
dcubed
date
Fri, 14 Dec 2012 10:06:52 -0800
changeset 4344
892acf0431ef
parent 3150
da0999c4b733
child 6876
710a3c8b516e
permissions
-rw-r--r--

7153050: remove crufty '_g' support from HotSpot repo makefiles
Summary: Phase 1 is removing '_g' support from the Makefiles.
Reviewed-by: dcubed, sspitsyn, coleenp, tbell
Contributed-by: ron.durbin@oracle.com

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

mercurial