hotspot/make/linux/makefiles/build_vm_def.sh
changeset 6176 4d9030fe341f
parent 5045 59dd2a304f1d
child 7445 57d387675180
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 nm --defined-only $* | awk '
     3 # If we're cross compiling use that path for nm
       
     4 if [ "$ALT_COMPILER_PATH" != "" ]; then 
       
     5 NM=$ALT_COMPILER_PATH/nm
       
     6 else
       
     7 NM=nm
       
     8 fi
       
     9 
       
    10 $NM --defined-only $* | awk '
     4    { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
    11    { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
     5    '
    12    '