ports/java/jdk15/files/patch-hotspot::vm::amd64.ad
Greg Lewis bc1fa829db . 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>
2006-02-12 20:47:21 +00:00

13 lines
411 B
Text

$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);
%}