Fri, 25 Mar 2011 09:35:39 +0100
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
never@1729 | 1 | #!/bin/sh |
never@1729 | 2 | |
bobv@2036 | 3 | # If we're cross compiling use that path for nm |
dholmes@2362 | 4 | if [ "$CROSS_COMPILE_ARCH" != "" ]; then |
bobv@2036 | 5 | NM=$ALT_COMPILER_PATH/nm |
bobv@2036 | 6 | else |
bobv@2036 | 7 | NM=nm |
bobv@2036 | 8 | fi |
bobv@2036 | 9 | |
bobv@2036 | 10 | $NM --defined-only $* | awk ' |
never@1729 | 11 | { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" } |
never@1729 | 12 | ' |