make/linux/makefiles/build_vm_def.sh

Fri, 25 Mar 2011 09:35:39 +0100

author
roland
date
Fri, 25 Mar 2011 09:35:39 +0100
changeset 2683
7e88bdae86ec
parent 2362
a5610f0862fe
child 3150
da0999c4b733
permissions
-rw-r--r--

7029017: Additional architecture support for c2 compiler
Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never

     1 #!/bin/sh
     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
    10 $NM --defined-only $* | awk '
    11    { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
    12    '

mercurial