b95c7e9523
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
13 lines
240 B
Bash
13 lines
240 B
Bash
#!/bin/sh
|
|
|
|
# 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 ";" }
|
|
'
|