changeset 2751:2b6cee016628

CA172, PR2030, G453612: Add ARM hardfloat support to CACAO on Gentoo. 2013-01-23 Andrew John Hughes <gnu.andrew@redhat.com> CA172, PR2030, G453612: Add ARM hardfloat support to CACAO on Gentoo. * Makefile.am: (ICEDTEA_PATCHES): Add armhf patch when building CACAO. * NEWS: Updated. * patches/cacao/armhf.patch: Patch to enable hardfloat on triplet used by Gentoo.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Wed, 15 Oct 2014 03:50:28 +0100
parents 121ad7411fd1
children 4ab80eb99ae1
files ChangeLog Makefile.am NEWS patches/cacao/armhf.patch
diffstat 4 files changed, 27 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Oct 14 22:11:50 2014 +0100
+++ b/ChangeLog	Wed Oct 15 03:50:28 2014 +0100
@@ -1,3 +1,14 @@
+2013-01-23  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	CA172, PR2030, G453612: Add ARM hardfloat support
+	to CACAO on Gentoo.
+	* Makefile.am:
+	(ICEDTEA_PATCHES): Add armhf patch when building
+	CACAO.
+	* NEWS: Updated.
+	* patches/cacao/armhf.patch:
+	Patch to enable hardfloat on triplet used by Gentoo.
+
 2014-10-14  Andrew John Hughes  <gnu.andrew@member.fsf.org>
 
 	* patches/hotspot/aarch64/20140715-8030763-validate_global_memory_allocation.patch,
--- a/Makefile.am	Tue Oct 14 22:11:50 2014 +0100
+++ b/Makefile.am	Wed Oct 15 03:50:28 2014 +0100
@@ -253,7 +253,8 @@
 if BUILD_CACAO
 ICEDTEA_PATCHES += \
 	patches/cacao/launcher.patch \
-	patches/cacao/memory.patch
+	patches/cacao/memory.patch \
+	patches/cacao/armhf.patch
 else
 if USING_CACAO
 ICEDTEA_PATCHES += \
--- a/NEWS	Tue Oct 14 22:11:50 2014 +0100
+++ b/NEWS	Wed Oct 15 03:50:28 2014 +0100
@@ -64,6 +64,8 @@
   - PR2009: Checksum of policy JAR files changes on every build
   - PR2025: LCMS_CFLAGS & LCMS_LIBS should not be used unless SYSTEM_LCMS is enabled
   - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised comprehensive fix)
+* CACAO
+  - PR2030, G453612, CA172: ARM hardfloat support for CACAO
 * AArch64 port
   - AArch64 C2 instruct for smull
   - Add frame anchor fences.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/cacao/armhf.patch	Wed Oct 15 03:50:28 2014 +0100
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+--- cacao/cacao/configure.ac
++++ cacao/cacao/configure.ac
+@@ -50,7 +50,7 @@
+     JAVA_ARCH="arm"
+ 
+     case "$host" in
+-	*-gnueabihf)
++       *-hardfloat-*-gnueabi | *-gnueabihf)
+ 		ARCH_FLAGS="$ARCH_FLAGS -D__ARMHF__"
+ 		;;
+ 	esac