Mercurial > hg > truffle
comparison make/aix/makefiles/build_vm_def.sh @ 14460:8a9bb7821e28
Merge
author | kvn |
---|---|
date | Wed, 19 Feb 2014 12:08:49 -0800 |
parents | b83f7d608548 |
children |
comparison
equal
deleted
inserted
replaced
14360:e8ef156f0bc9 | 14460:8a9bb7821e28 |
---|---|
1 #!/bin/sh | |
2 | |
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 # On AIX we have to prevent that we pick up the 'nm' version from the GNU binutils | |
8 # which may be installed under /opt/freeware/bin. So better use an absolute path here! | |
9 NM=/usr/bin/nm | |
10 fi | |
11 | |
12 $NM -X64 -B -C $* \ | |
13 | awk '{ | |
14 if (($2="d" || $2="D") && ($3 ~ /^__vft/ || $3 ~ /^gHotSpotVM/)) print "\t" $3 ";" | |
15 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";" | |
16 if ($3 ~ /^SharedArchivePath__9Arguments$/) print "\t" $3 ";" | |
17 }' \ | |
18 | sort -u |