diff options
author | Sven Ebenfeld <sven.ebenfeld@gmail.com> | 2015-04-27 22:12:59 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-04-28 16:09:34 -0300 |
commit | 31460be0ffad5fea3d41e50fba3eccce7993e409 (patch) | |
tree | c1ccf05f875de56629939494facaf2ce30b9fae5 /recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch | |
parent | 00cc75e823ef742fae6966a83dce69b0d2f56a76 (diff) | |
download | meta-java-31460be0ffad5fea3d41e50fba3eccce7993e409.tar.gz |
openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch b/recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch new file mode 100644 index 0000000..e97e4fc --- /dev/null +++ b/recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | diff --git openjdk/hotspot/make/linux/makefiles/zeroshark.make openjdk/hotspot/make/linux/makefiles/zeroshark.make | ||
2 | index c2a1484..156bdd0 100644 | ||
3 | --- openjdk/hotspot/make/linux/makefiles/zeroshark.make | ||
4 | +++ openjdk/hotspot/make/linux/makefiles/zeroshark.make | ||
5 | @@ -33,26 +33,27 @@ | ||
6 | Obj_Files += arm32JIT.o | ||
7 | |||
8 | CFLAGS += -DHOTSPOT_ASM | ||
9 | +CCFLAGS += -DHOTSPOT_ASM | ||
10 | |||
11 | cppInterpreter_arm.o: offsets_arm.s bytecodes_arm.s | ||
12 | arm32JIT.o: offsets_arm.s | ||
13 | |||
14 | offsets_arm.s: mkoffsets | ||
15 | @echo Generating assembler offsets | ||
16 | - ./mkoffsets > $@ | ||
17 | + $(QEMU) ./mkoffsets > $@ | ||
18 | |||
19 | bytecodes_arm.s: bytecodes_arm.def mkbc | ||
20 | @echo Generating ARM assembler bytecode sequences | ||
21 | - $(CXX_COMPILE) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE) | ||
22 | + $(CXX_COMPILE) -E -x c++ - < $< | $(QEMU) ./mkbc - $@ $(COMPILE_DONE) | ||
23 | |||
24 | mkbc: $(GAMMADIR)/tools/mkbc.c | ||
25 | @echo Compiling mkbc tool | ||
26 | - $(CC_COMPILE) -o $@ $< $(COMPILE_DONE) | ||
27 | + $(CC_COMPILE) -static -fuse-ld=bfd -o $@ $< $(COMPILE_DONE) | ||
28 | |||
29 | mkoffsets: asm_helper.cpp | ||
30 | @echo Compiling offset generator | ||
31 | $(QUIETLY) $(REMOVE_TARGET) | ||
32 | - $(CXX_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE) | ||
33 | + $(CXX_COMPILE) -static -fuse-ld=bfd -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE) | ||
34 | |||
35 | endif | ||
36 | endif | ||