2010-03-09 19:02:39 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-08-03 12:13:38 +00:00
|
|
|
# If we're cross compiling use that path for nm
|
2010-12-10 01:12:06 +00:00
|
|
|
if [ "$CROSS_COMPILE_ARCH" != "" ]; then
|
2010-08-03 12:13:38 +00:00
|
|
|
NM=$ALT_COMPILER_PATH/nm
|
|
|
|
else
|
|
|
|
NM=nm
|
|
|
|
fi
|
|
|
|
|
2011-09-16 23:21:20 +00:00
|
|
|
$NM --defined-only $* \
|
|
|
|
| awk '{
|
|
|
|
if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
|
|
|
|
if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
|
|
|
|
if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
|
|
|
|
}' \
|
|
|
|
| sort -u
|