changeset 6176 | 4d9030fe341f |
parent 5045 | 59dd2a304f1d |
child 7445 | 57d387675180 |
--- a/hotspot/make/linux/makefiles/build_vm_def.sh Wed Jul 28 17:57:43 2010 -0400 +++ b/hotspot/make/linux/makefiles/build_vm_def.sh Tue Aug 03 08:13:38 2010 -0400 @@ -1,5 +1,12 @@ #!/bin/sh -nm --defined-only $* | awk ' +# If we're cross compiling use that path for nm +if [ "$ALT_COMPILER_PATH" != "" ]; then +NM=$ALT_COMPILER_PATH/nm +else +NM=nm +fi + +$NM --defined-only $* | awk ' { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" } '