hotspot/make/linux/makefiles/build_vm_def.sh
author bobv
Tue, 03 Aug 2010 08:13:38 -0400
changeset 6176 4d9030fe341f
parent 5045 59dd2a304f1d
child 7445 57d387675180
permissions -rw-r--r--
6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5045
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
     1
#!/bin/sh
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
     2
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     3
# If we're cross compiling use that path for nm
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     4
if [ "$ALT_COMPILER_PATH" != "" ]; then 
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     5
NM=$ALT_COMPILER_PATH/nm
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     6
else
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     7
NM=nm
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     8
fi
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     9
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
    10
$NM --defined-only $* | awk '
5045
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
    11
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
    12
   '