changeset in /hg/icedtea: 2007-11-12 Gary Benson <gbenson at redh...
Gary Benson
gbenson at redhat.com
Wed Jan 16 07:09:21 PST 2008
changeset 43613182340c in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=43613182340c
description:
2007-11-12 Gary Benson <gbenson at redhat.com>
* ports/hotspot/build/linux/platform_ppc: New file.
* ports/hotspot/build/linux/platform_ppc64: Likewise.
* ports/hotspot/build/linux/makefiles/ppc.make: Likewise.
* ports/hotspot/build/linux/makefiles/ppc64.make: Likewise.
* ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/assembler_ppc.inline.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp:
Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/codeBuffer_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/copy_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/cppInterpreterGenerator_ppc.hpp:
Likewise.
* ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/debug_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/depChecker_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/depChecker_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/dump_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/frame_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/frame_ppc.inline.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/globalDefinitions_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/globals_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/icBuffer_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/icache_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/icache_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interpreterGenerator_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/javaFrameAnchor_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/jniFastGetField_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/jniTypes_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/jni_ppc.h: Likewise.
* ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/register_definitions_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/register_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/register_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/templateInterpreterGenerator_ppc.hpp:
Likewise.
* ports/hotspot/src/cpu/ppc/vm/templateInterpreter_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/templateInterpreter_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/templateTable_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/templateTable_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vmStructs_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vm_version_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.inline.hpp: Likewise.
* ports/hotspot/src/cpu/ppc/vm/vtableStubs_ppc.cpp: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc.s: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc64.s: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/assembler_linux_ppc.cpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/atomic_linux_ppc.inline.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/bytes_linux_ppc.inline.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/globals_linux_ppc.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.hpp: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/prefetch_linux_ppc.inline.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.cpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/thread_linux_ppc.cpp: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/thread_linux_ppc.hpp: Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/vmStructs_linux_ppc.hpp:
Likewise.
* ports/hotspot/src/os_cpu/linux_ppc/vm/vm_version_linux_ppc.cpp:
Likewise.
* ports/j2se/src/solaris/bin/ppc/jvm.cfg: Likewise.
* ports/j2se/src/solaris/bin/ppc64/jvm.cfg: Likewise.
* ports/j2se/src/solaris/bin/ergo_ppc.c: Likewise.
* Makefile.am: Link the above into the build trees before building.
* Makefile.in: Regenerated.
diffstat:
71 files changed, 9161 insertions(+), 6 deletions(-)
ChangeLog | 104
Makefile.am | 30
Makefile.in | 30
ports/hotspot/build/linux/makefiles/ppc.make | 34
ports/hotspot/build/linux/makefiles/ppc64.make | 37
ports/hotspot/build/linux/platform_ppc | 17
ports/hotspot/build/linux/platform_ppc64 | 17
ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 1371 +++++++++
ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 398 ++
ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.hpp | 98
ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp | 281 ++
ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.cpp | 32
ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.hpp | 25
ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp | 168 +
ports/hotspot/src/cpu/ppc/vm/codeBuffer_ppc.hpp | 27
ports/hotspot/src/cpu/ppc/vm/copy_ppc.hpp | 166 +
ports/hotspot/src/cpu/ppc/vm/cppInterpreterGenerator_ppc.hpp | 30
ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp | 1380 ++++++++++
ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.hpp | 32
ports/hotspot/src/cpu/ppc/vm/debug_ppc.cpp | 32
ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp | 46
ports/hotspot/src/cpu/ppc/vm/dump_ppc.cpp | 37
ports/hotspot/src/cpu/ppc/vm/frame_ppc.cpp | 122
ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp | 66
ports/hotspot/src/cpu/ppc/vm/frame_ppc.inline.hpp | 175 +
ports/hotspot/src/cpu/ppc/vm/globals_ppc.hpp | 54
ports/hotspot/src/cpu/ppc/vm/icBuffer_ppc.cpp | 52
ports/hotspot/src/cpu/ppc/vm/icache_ppc.cpp | 101
ports/hotspot/src/cpu/ppc/vm/icache_ppc.hpp | 43
ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp | 121
ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.hpp | 36
ports/hotspot/src/cpu/ppc/vm/interpreterGenerator_ppc.hpp | 37
ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.cpp | 329 ++
ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.hpp | 151 +
ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.cpp | 187 +
ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.hpp | 56
ports/hotspot/src/cpu/ppc/vm/javaFrameAnchor_ppc.hpp | 72
ports/hotspot/src/cpu/ppc/vm/jniFastGetField_ppc.cpp | 67
ports/hotspot/src/cpu/ppc/vm/jniTypes_ppc.hpp | 108
ports/hotspot/src/cpu/ppc/vm/jni_ppc.h | 32
ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp | 166 +
ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp | 39
ports/hotspot/src/cpu/ppc/vm/register_definitions_ppc.cpp | 115
ports/hotspot/src/cpu/ppc/vm/register_ppc.cpp | 51
ports/hotspot/src/cpu/ppc/vm/register_ppc.hpp | 250 +
ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.cpp | 68
ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.hpp | 34
ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp | 248 +
ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp | 512 +++
ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp | 56
ports/hotspot/src/cpu/ppc/vm/vmStructs_ppc.hpp | 52
ports/hotspot/src/cpu/ppc/vm/vm_version_ppc.hpp | 32
ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp | 45
ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.inline.hpp | 32
ports/hotspot/src/cpu/ppc/vm/vtableStubs_ppc.cpp | 47
ports/hotspot/src/os_cpu/linux_ppc/vm/atomic_linux_ppc.inline.hpp | 160 +
ports/hotspot/src/os_cpu/linux_ppc/vm/bytes_linux_ppc.inline.hpp | 43
ports/hotspot/src/os_cpu/linux_ppc/vm/globals_linux_ppc.hpp | 43
ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc.s | 76
ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc64.s | 96
ports/hotspot/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp | 101
ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp | 305 ++
ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.hpp | 33
ports/hotspot/src/os_cpu/linux_ppc/vm/prefetch_linux_ppc.inline.hpp | 34
ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.cpp | 42
ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.hpp | 32
ports/hotspot/src/os_cpu/linux_ppc/vm/thread_linux_ppc.hpp | 63
ports/hotspot/src/os_cpu/linux_ppc/vm/vmStructs_linux_ppc.hpp | 45
ports/j2se/src/solaris/bin/ergo_ppc.c | 58
ports/j2se/src/solaris/bin/ppc/jvm.cfg | 44
ports/j2se/src/solaris/bin/ppc64/jvm.cfg | 44
diffs (truncated from 9522 to 500 lines):
diff -r 129a6d4f20b0 -r 43613182340c ChangeLog
--- a/ChangeLog Mon Nov 12 06:27:08 2007 -0500
+++ b/ChangeLog Mon Nov 12 06:37:43 2007 -0500
@@ -1,3 +1,107 @@ 2007-11-12 Gary Benson <gbenson at redhat
+2007-11-12 Gary Benson <gbenson at redhat.com>
+
+ * ports/hotspot/build/linux/platform_ppc: New file.
+ * ports/hotspot/build/linux/platform_ppc64: Likewise.
+ * ports/hotspot/build/linux/makefiles/ppc.make: Likewise.
+ * ports/hotspot/build/linux/makefiles/ppc64.make: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.inline.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp:
+ Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytecodes_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/codeBuffer_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/copy_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/cppInterpreterGenerator_ppc.hpp:
+ Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/debug_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/depChecker_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/depChecker_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/dump_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/frame_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/frame_ppc.inline.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/globalDefinitions_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/globals_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/icBuffer_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/icache_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/icache_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interpreterGenerator_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interpreterRT_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/interpreter_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/javaFrameAnchor_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/jniFastGetField_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/jniTypes_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/jni_ppc.h: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/register_definitions_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/register_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/register_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/relocInfo_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/templateInterpreterGenerator_ppc.hpp:
+ Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/templateInterpreter_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/templateInterpreter_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/templateTable_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/templateTable_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vmStructs_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vm_version_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.inline.hpp: Likewise.
+ * ports/hotspot/src/cpu/ppc/vm/vtableStubs_ppc.cpp: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc.s: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/linux_ppc64.s: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/assembler_linux_ppc.cpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/atomic_linux_ppc.inline.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/bytes_linux_ppc.inline.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/globals_linux_ppc.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.hpp: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/prefetch_linux_ppc.inline.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.cpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/thread_linux_ppc.cpp: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/thread_linux_ppc.hpp: Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/vmStructs_linux_ppc.hpp:
+ Likewise.
+ * ports/hotspot/src/os_cpu/linux_ppc/vm/vm_version_linux_ppc.cpp:
+ Likewise.
+ * ports/j2se/src/solaris/bin/ppc/jvm.cfg: Likewise.
+ * ports/j2se/src/solaris/bin/ppc64/jvm.cfg: Likewise.
+ * ports/j2se/src/solaris/bin/ergo_ppc.c: Likewise.
+ * Makefile.am: Link the above into the build trees before building.
+ * Makefile.in: Regenerated.
+
2007-11-12 Gary Benson <gbenson at redhat.com>
* patches/icedtea-ports.patch: Remake for setarch and ppc64.
diff -r 129a6d4f20b0 -r 43613182340c Makefile.am
--- a/Makefile.am Mon Nov 12 06:27:08 2007 -0500
+++ b/Makefile.am Mon Nov 12 06:37:43 2007 -0500
@@ -161,6 +161,18 @@ clean-extract:
clean-extract:
rm -f stamps/extract.stamp
rm -rf openjdk
+
+# Link ports sources into tree
+stamps/ports.stamp: stamps/extract.stamp
+ for target in ports/hotspot/build/*/platform_* \
+ ports/hotspot/build/*/makefiles/* \
+ ports/hotspot/src/*/* \
+ ports/j2se/src/*/bin/*; do \
+ link=$$(dirname $$target | sed 's/^ports/openjdk/'); \
+ ln -sf $$PWD/$$target $$link; \
+ done
+ mkdir -p stamps
+ touch stamps/ports.stamp
# Patch OpenJDK sources for plug replacements.
if FAST_BUILD
@@ -265,6 +277,18 @@ clean-extract-ecj:
rm -f stamps/extract-ecj.stamp
rm -rf openjdk-ecj
+# Link ports sources into tree
+stamps/ports-ecj.stamp: stamps/extract.stamp
+ for target in ports/hotspot/build/*/platform_* \
+ ports/hotspot/build/*/makefiles/* \
+ ports/hotspot/src/*/* \
+ ports/j2se/src/*/bin/*; do \
+ link=$$(dirname $$target | sed 's/^ports/openjdk-ecj/'); \
+ ln -sf $$PWD/$$target $$link; \
+ done
+ mkdir -p stamps
+ touch stamps/ports-ecj.stamp
+
# Patch OpenJDK for plug replacements and ecj.
ICEDTEA_ECJ_PATCH = patches/icedtea-ecj.patch
@@ -396,7 +420,7 @@ endif
# If you change anything here in the icedtea target, please make sure
# you change it in the icedtea-debug target as well.
icedtea: stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \
- stamps/patch.stamp gcjwebplugin.so
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make j2se_only
@@ -408,7 +432,7 @@ icedtea: stamps/tools.stamp stamps/plugs
icedtea-debug: stamps/bootstrap-directory-symlink.stamp \
stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \
- stamps/patch.stamp gcjwebplugin.so
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make \
@@ -433,7 +457,7 @@ icedtea-against-icedtea: \
# ===================
stamps/icedtea-ecj.stamp: stamps/tools.stamp stamps/plugs.stamp \
- stamps/extract-ecj.stamp stamps/patch-ecj.stamp
+ stamps/extract-ecj.stamp stamps/ports-ecj.stamp stamps/patch-ecj.stamp
$(MAKE) \
$(ICEDTEA_ENV_ECJ) \
-C openjdk-ecj/control/make
diff -r 129a6d4f20b0 -r 43613182340c Makefile.in
--- a/Makefile.in Mon Nov 12 06:27:08 2007 -0500
+++ b/Makefile.in Mon Nov 12 06:37:43 2007 -0500
@@ -649,6 +649,18 @@ clean-extract:
rm -f stamps/extract.stamp
rm -rf openjdk
+# Link ports sources into tree
+stamps/ports.stamp: stamps/extract.stamp
+ for target in ports/hotspot/build/*/platform_* \
+ ports/hotspot/build/*/makefiles/* \
+ ports/hotspot/src/*/* \
+ ports/j2se/src/*/bin/*; do \
+ link=$$(dirname $$target | sed 's/^ports/openjdk/'); \
+ ln -sf $$PWD/$$target $$link; \
+ done
+ mkdir -p stamps
+ touch stamps/ports.stamp
+
stamps/patch.stamp: stamps/extract.stamp
for p in $(ICEDTEA_PATCHES) ; \
do \
@@ -694,6 +706,18 @@ clean-extract-ecj:
clean-extract-ecj:
rm -f stamps/extract-ecj.stamp
rm -rf openjdk-ecj
+
+# Link ports sources into tree
+stamps/ports-ecj.stamp: stamps/extract.stamp
+ for target in ports/hotspot/build/*/platform_* \
+ ports/hotspot/build/*/makefiles/* \
+ ports/hotspot/src/*/* \
+ ports/j2se/src/*/bin/*; do \
+ link=$$(dirname $$target | sed 's/^ports/openjdk-ecj/'); \
+ ln -sf $$PWD/$$target $$link; \
+ done
+ mkdir -p stamps
+ touch stamps/ports-ecj.stamp
stamps/patch-ecj.stamp: stamps/extract-ecj.stamp
for p in $(ICEDTEA_PATCHES) ; \
@@ -805,7 +829,7 @@ clean-bootstrap-directory-symlink-ecj:
# If you change anything here in the icedtea target, please make sure
# you change it in the icedtea-debug target as well.
icedtea: stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \
- stamps/patch.stamp gcjwebplugin.so
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make j2se_only
@@ -817,7 +841,7 @@ icedtea: stamps/tools.stamp stamps/plugs
icedtea-debug: stamps/bootstrap-directory-symlink.stamp \
stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \
- stamps/patch.stamp gcjwebplugin.so
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make \
@@ -842,7 +866,7 @@ icedtea-against-icedtea: \
# ===================
stamps/icedtea-ecj.stamp: stamps/tools.stamp stamps/plugs.stamp \
- stamps/extract-ecj.stamp stamps/patch-ecj.stamp
+ stamps/extract-ecj.stamp stamps/ports-ecj.stamp stamps/patch-ecj.stamp
$(MAKE) \
$(ICEDTEA_ENV_ECJ) \
-C openjdk-ecj/control/make
diff -r 129a6d4f20b0 -r 43613182340c ports/hotspot/build/linux/makefiles/ppc.make
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ports/hotspot/build/linux/makefiles/ppc.make Mon Nov 12 06:37:43 2007 -0500
@@ -0,0 +1,34 @@
+#
+# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
+# Copyright 2007 Red Hat, Inc.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+# CA 95054 USA or visit www.sun.com if you need additional information or
+# have any questions.
+#
+#
+
+# Not included in includeDB because it has no dependencies
+Obj_Files += linux_ppc.o
+
+# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
+# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
+
+OPT_CFLAGS/compactingPermGenGen.o = -O1
diff -r 129a6d4f20b0 -r 43613182340c ports/hotspot/build/linux/makefiles/ppc64.make
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ports/hotspot/build/linux/makefiles/ppc64.make Mon Nov 12 06:37:43 2007 -0500
@@ -0,0 +1,37 @@
+#
+# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
+# Copyright 2007 Red Hat, Inc.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+# CA 95054 USA or visit www.sun.com if you need additional information or
+# have any questions.
+#
+#
+
+# Not included in includeDB because it has no dependencies
+Obj_Files += linux_ppc64.o
+
+# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
+# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
+
+# Specify that the CPU is 64 bit
+CFLAGS += -D_LP64=1
+
+OPT_CFLAGS/compactingPermGenGen.o = -O1
diff -r 129a6d4f20b0 -r 43613182340c ports/hotspot/build/linux/platform_ppc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ports/hotspot/build/linux/platform_ppc Mon Nov 12 06:37:43 2007 -0500
@@ -0,0 +1,17 @@
+os_family = linux
+
+arch = ppc
+
+arch_model = ppc
+
+os_arch = linux_ppc
+
+os_arch_model = linux_ppc
+
+lib_arch = ppc
+
+compiler = gcc
+
+gnu_dis_arch = ppc
+
+sysdefs = -DLINUX -D_GNU_SOURCE -DPPC -DPPC32 -DCC_INTERP -DXXX_EVIL_EVIL_EVIL
diff -r 129a6d4f20b0 -r 43613182340c ports/hotspot/build/linux/platform_ppc64
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ports/hotspot/build/linux/platform_ppc64 Mon Nov 12 06:37:43 2007 -0500
@@ -0,0 +1,17 @@
+os_family = linux
+
+arch = ppc
+
+arch_model = ppc
+
+os_arch = linux_ppc
+
+os_arch_model = linux_ppc
+
+lib_arch = ppc
+
+compiler = gcc
+
+gnu_dis_arch = ppc
+
+sysdefs = -DLINUX -D_GNU_SOURCE -DPPC -DPPC64 -DCC_INTERP -DXXX_EVIL_EVIL_EVIL
diff -r 129a6d4f20b0 -r 43613182340c ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Mon Nov 12 06:37:43 2007 -0500
@@ -0,0 +1,1371 @@
+/*
+ * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 2007 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ *
+ */
+
+#include "incls/_precompiled.incl"
+#include "incls/_assembler_ppc.cpp.incl"
+
+
+// Fill empty space with zeros.
+// (0x00000000 is an illegal instruction on ppc)
+
+int AbstractAssembler::code_fill_byte()
+{
+ return 0x00;
+}
+
+// Instruction emitters for the various forms.
+// Every instruction should ultimately come through one of these.
+
+void Assembler::emit_instruction(int opcode, int li, bool aa, bool lk)
+{
+ // I-form
+ assert(!(opcode & ~0x3f), "invalid opcode");
+ assert(!(li & ~0xffffff), "invalid operand");
+ emit_long(opcode << 26 | li << 2 | aa << 1 | lk);
+}
+void Assembler::emit_instruction(int opcode, int bo, int bi, int bd,
+ bool aa, bool lk) {
+ // B-form (includes SC-form)
+ assert(!(opcode & ~0x3f), "invalid opcode");
+ assert(!(bo & ~0x1f), "invalid operand");
+ assert(!(bi & ~0x1f), "invalid operand");
+ assert(!(bd & ~0x3fff), "invalid operand");
+ emit_long(opcode << 26 | bo << 21 | bi << 16 | bd << 2 | aa << 1 | lk);
+}
+void Assembler::emit_instruction(int opcode, int a, int b, int c)
+{
+ // D-form
+ assert(!(opcode & ~0x3f), "invalid opcode");
+ assert(!(a & ~0x1f), "invalid operand");
+ assert(!(b & ~0x1f), "invalid operand");
+ if (c < 0) {
+ assert((c & ~0xffff) == ~0xffff, "invalid operand");
+ c &= 0xffff;
+ }
+ else
+ assert(!(c & ~0xffff), "invalid operand");
+ emit_long(opcode << 26 | a << 21 | b << 16 | c);
+}
+void Assembler::emit_instruction(int opcode, int a, int b, int c, int d)
+{
+ // DS-form
+ assert(!(opcode & ~0x3f), "invalid opcode");
+ assert(!(a & ~0x1f), "invalid operand");
+ assert(!(b & ~0x1f), "invalid operand");
+ if (c < 0) {
+ assert((c & ~0x3fff) == ~0x3fff, "invalid operand");
+ c &= 0x3fff;
+ }
+ else
+ assert(!(c & ~0x3fff), "invalid operand");
+ assert(!(d & ~0x3), "invalid operand");
+ emit_long(opcode << 26 | a << 21 | b << 16 | c << 2 | d);
+}
+void Assembler::emit_instruction(int opcode, int a, int b, int c, int xo,
+ bool rc) {
+ // X-form
+ assert(!(opcode & ~0x3f), "invalid opcode");
+ assert(!(a & ~0x1f), "invalid operand");
+ assert(!(b & ~0x1f), "invalid operand");
+ assert(!(c & ~0x1f), "invalid operand");
+ assert(!(xo & ~0x3ff), "invalid operand");
+ emit_long(opcode << 26 | a << 21 | b << 16 | c << 11 | xo << 1 | rc);
+}
+void Assembler::emit_instruction(int opcode, int a, int b, int c, int d,
+ int e, bool rc) {
+ switch (opcode) {
+ case 21:
+ // M-form
+ assert(!(a & ~0x1f), "invalid operand");
+ assert(!(b & ~0x1f), "invalid operand");
+ assert(!(c & ~0x1f), "invalid operand");
+ assert(!(d & ~0x1f), "invalid operand");
+ assert(!(e & ~0x1f), "invalid operand");
+ break;
+
+ case 30:
+ // MD-form
+ assert(!(a & ~0x1f), "invalid operand");
+ assert(!(b & ~0x1f), "invalid operand");
+ assert(!(c & ~0x3f), "invalid operand");
+ assert(!(d & ~0x3f), "invalid operand");
+ assert(!(e & ~0x07), "invalid operand");
+ {
+ int C = c & 0x1f;
+ int D = d & 0x1f;
+ int E = (d & 0x20) >> 1 | e << 1 | (c & 0x20) >> 5;
+
+ c = C; d = D; e = E;
+ }
+ break;
+
+ default:
+ ShouldNotReachHere();
+ }
+ emit_long(opcode << 26 | a << 21 | b << 16 | c << 11 | d << 6 | e << 1 | rc);
+}
More information about the distro-pkg-dev
mailing list