. Set the REX bits correctly on amd64. Fixes possible segfaults with
Eclipse on that platform. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=71987 . Bump PORTREVISION. Submitted by: Sean McNeil <sean@mcneil.com>
This commit is contained in:
parent
1fd0bf2541
commit
bc1fa829db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155850
4 changed files with 28 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/communitysource/j2se/java2/download.xml
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk15.html
|
||||
|
|
13
java/jdk15/files/patch-hotspot::vm::amd64.ad
Normal file
13
java/jdk15/files/patch-hotspot::vm::amd64.ad
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- ../../hotspot/src/cpu/amd64/vm/amd64.ad.orig Wed Feb 8 15:18:24 2006
|
||||
+++ ../../hotspot/src/cpu/amd64/vm/amd64.ad Wed Feb 8 15:17:35 2006
|
||||
@@ -7246,7 +7246,7 @@
|
||||
|
||||
format %{ "negl $dst\t# int" %}
|
||||
opcode(0xF7, 0x03); // Opcode F7 /3
|
||||
- ins_encode(REX_reg(dst), OpcP, RM_opc_mem(secondary, dst));
|
||||
+ ins_encode(REX_mem(dst), OpcP, RM_opc_mem(secondary, dst));
|
||||
ins_pipe(ialu_reg);
|
||||
%}
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/communitysource/j2se/java2/download.xml
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk15.html
|
||||
|
|
13
java/jdk16/files/patch-hotspot::vm::amd64.ad
Normal file
13
java/jdk16/files/patch-hotspot::vm::amd64.ad
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- ../../hotspot/src/cpu/amd64/vm/amd64.ad.orig Wed Feb 8 15:18:24 2006
|
||||
+++ ../../hotspot/src/cpu/amd64/vm/amd64.ad Wed Feb 8 15:17:35 2006
|
||||
@@ -7246,7 +7246,7 @@
|
||||
|
||||
format %{ "negl $dst\t# int" %}
|
||||
opcode(0xF7, 0x03); // Opcode F7 /3
|
||||
- ins_encode(REX_reg(dst), OpcP, RM_opc_mem(secondary, dst));
|
||||
+ ins_encode(REX_mem(dst), OpcP, RM_opc_mem(secondary, dst));
|
||||
ins_pipe(ialu_reg);
|
||||
%}
|
||||
|
Loading…
Reference in a new issue