Mercurial > hg > truffle
annotate make/linux/makefiles/build_vm_def.sh @ 1935:98dbef29f10b
Important fix for exception unwind method entry offset (regression introduced during update to latest OpenJDK).
Hard to find bug => should add a regression test for wrong offsets.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 22 Dec 2010 19:47:39 +0100 |
parents | 126ea7725993 |
children | a5610f0862fe |
rev | line source |
---|---|
1294
7de45b5044c3
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff
changeset
|
1 #!/bin/sh |
7de45b5044c3
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff
changeset
|
2 |
1681
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
3 # If we're cross compiling use that path for nm |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
4 if [ "$ALT_COMPILER_PATH" != "" ]; then |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
5 NM=$ALT_COMPILER_PATH/nm |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
6 else |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
7 NM=nm |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
8 fi |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
9 |
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1294
diff
changeset
|
10 $NM --defined-only $* | awk ' |
1294
7de45b5044c3
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 ";" } |
7de45b5044c3
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff
changeset
|
12 ' |