hotspot/make/linux/makefiles/build_vm_def.sh
changeset 28743 a9eac944c97d
parent 28710 5b8db585a33c
parent 28742 e6ec6ed5be00
child 28744 4283637ac96e
child 28829 a8c81ce8d333
child 28834 4925a7f447b0
child 28921 c14a350e277a
equal deleted inserted replaced
28710:5b8db585a33c 28743:a9eac944c97d
     1 #!/bin/sh
       
     2 
       
     3 # If we're cross compiling use that path for nm
       
     4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
       
     5 NM=$ALT_COMPILER_PATH/nm
       
     6 else
       
     7 NM=nm
       
     8 fi
       
     9 
       
    10 $NM --defined-only $* \
       
    11     | awk '{
       
    12               if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
       
    13               if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
       
    14               if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
       
    15           }' \
       
    16     | sort -u