summaryrefslogtreecommitdiff
path: root/package/openjdk/patches/icedtea-arm-mkbc.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-22 06:26:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-22 06:26:27 +0200
commit90f063cdaa362277b19eac3d3e3ebeb6227b4da3 (patch)
tree58f05de6554dd97a6afffada929aa5402dab2117 /package/openjdk/patches/icedtea-arm-mkbc.patch
parentf41e4877defd5be85457121c5fd9b923a943d8ed (diff)
parent432ae1a94f4d543da3aa2ed226cd3c00e350e3c4 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openjdk/patches/icedtea-arm-mkbc.patch')
-rw-r--r--package/openjdk/patches/icedtea-arm-mkbc.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/openjdk/patches/icedtea-arm-mkbc.patch b/package/openjdk/patches/icedtea-arm-mkbc.patch
new file mode 100644
index 000000000..9df3ebbf4
--- /dev/null
+++ b/package/openjdk/patches/icedtea-arm-mkbc.patch
@@ -0,0 +1,29 @@
+
+ execute mkoffsets via Qemu and build mkbc with the host compiler.
+
+--- w-openjdk-6-1.orig/icedtea6-1.10/patches/arm.patch 2011-02-23 23:32:32.909601440 +0100
++++ w-openjdk-6-1/icedtea6-1.10/patches/arm.patch 2011-08-09 20:05:56.721765260 +0200
+@@ -25,7 +25,7 @@
+ +
+ +offsets_arm.s: mkoffsets
+ + @echo Generating assembler offsets
+-+ ./mkoffsets > $@
+++ $(QEMU) ./mkoffsets > $@
+ +
+ +bytecodes_arm.s: bytecodes_arm.def mkbc
+ + @echo Generatine ARM assembler bytecode sequences
+@@ -33,12 +33,12 @@
+ +
+ +mkbc: $(GAMMADIR)/tools/mkbc.c
+ + @echo Compiling mkbc tool
+-+ $(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
+++ $(CC_FOR_BUILD) -o $@ $< $(COMPILE_DONE)
+ +
+ +mkoffsets: asm_helper.cpp
+ + @echo Compiling offset generator
+ + $(QUIETLY) $(REMOVE_TARGET)
+-+ $(CC_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
+++ $(CC_COMPILE) -static -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
+ +
+ +endif
+ +