diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-08-26 18:29:46 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-08-26 18:29:46 +0000 |
commit | f0ff2870a00a36f093fa7e2b80db466f5dad9753 (patch) | |
tree | 9ef31ecae2b91750d4228bd999c6b65842fbab39 /java/openjdk8/files | |
parent | Update devel/rebar3 to version 3.3.0. (diff) |
Make the FPU hack for ARM optional. Note this hack is not necessary for
VFPv3 or later, i.e., only VFPv1 and VFPv2 require this hack.
https://svnweb.freebsd.org/changeset/base/288983
Diffstat (limited to 'java/openjdk8/files')
-rw-r--r-- | java/openjdk8/files/fpuhack.patch (renamed from java/openjdk8/files/armv6.patch) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/openjdk8/files/armv6.patch b/java/openjdk8/files/fpuhack.patch index 45037c33a18d..bc5ccdee138f 100644 --- a/java/openjdk8/files/armv6.patch +++ b/java/openjdk8/files/fpuhack.patch @@ -1,3 +1,10 @@ +From NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/openjdk7/hacks.mk +Work around incorrect constant folding of subnormals in javac when the FPU +does not handle subnormal arithmetic, like on ARM in flush-to-zero mode. +These workarounds avoid underflow conditions during the bootstrap so the JDK +can correctly build itself. Compiling or running programs other than OpenJDK +itself on such hardware may still cause unexpected behaviour. + --- jdk/src/share/classes/java/lang/Double.java.orig 2014-03-04 02:57:59 UTC +++ jdk/src/share/classes/java/lang/Double.java @@ -86,7 +86,7 @@ public final class Double extends Number |