make/aix/makefiles/build_vm_def.sh

Fri, 28 Aug 2020 07:38:21 +0100

author
andrew
date
Fri, 28 Aug 2020 07:38:21 +0100
changeset 9995
633a3d28d2fe
parent 0
f90c822e73f8
permissions
-rw-r--r--

8251120: [8u] HotSpot build assumes ENABLE_JFR is set to either true or false
Summary: Only test for ENABLE_JFR being true, and assume undefined == false
Reviewed-by: neugens

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 # On AIX we have to prevent that we pick up the 'nm' version from the GNU binutils
aoqi@0 8 # which may be installed under /opt/freeware/bin. So better use an absolute path here!
aoqi@0 9 NM=/usr/bin/nm
aoqi@0 10 fi
aoqi@0 11
aoqi@0 12 $NM -X64 -B -C $* \
aoqi@0 13 | awk '{
aoqi@0 14 if (($2="d" || $2="D") && ($3 ~ /^__vft/ || $3 ~ /^gHotSpotVM/)) print "\t" $3 ";"
aoqi@0 15 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
aoqi@0 16 if ($3 ~ /^SharedArchivePath__9Arguments$/) print "\t" $3 ";"
aoqi@0 17 }' \
aoqi@0 18 | sort -u

mercurial