Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 11:33:58 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406746 - in head/lang: spidermonkey170/files spidermonkey24/files
Message-ID:  <201601201133.u0KBXwTr021342@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew (src committer)
Date: Wed Jan 20 11:33:58 2016
New Revision: 406746
URL: https://svnweb.freebsd.org/changeset/ports/406746

Log:
  Add support for AArch64 (arm64) to spidermonkey 17 and 24.
  
  This is based on the following upstream patch.
  https://hg.mozilla.org/integration/mozilla-inbound/rev/6a46f53ad944
  
  Approved by:	kwm
  Differential Revision:	https://reviews.freebsd.org/D4785

Added:
  head/lang/spidermonkey170/files/patch-utils.h   (contents, props changed)
  head/lang/spidermonkey24/files/patch-utils.h   (contents, props changed)

Added: head/lang/spidermonkey170/files/patch-utils.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/spidermonkey170/files/patch-utils.h	Wed Jan 20 11:33:58 2016	(r406746)
@@ -0,0 +1,12 @@
+--- ../../mfbt/double-conversion/utils.h.orig	2016-01-04 09:48:39.700168000 +0000
++++ ../../mfbt/double-conversion/utils.h	2016-01-04 09:49:18.136290000 +0000
+@@ -58,7 +58,8 @@
+     defined(__mips__) || defined(__powerpc__) || \
+     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+     defined(__SH4__) || defined(__alpha__) || \
+-    defined(_MIPS_ARCH_MIPS32R2)
++    defined(_MIPS_ARCH_MIPS32R2) || \
++    defined(__AARCH64EL__)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
+ #if defined(_WIN32)

Added: head/lang/spidermonkey24/files/patch-utils.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/spidermonkey24/files/patch-utils.h	Wed Jan 20 11:33:58 2016	(r406746)
@@ -0,0 +1,12 @@
+--- ../../mfbt/double-conversion/utils.h.orig	2016-01-04 09:48:39.700168000 +0000
++++ ../../mfbt/double-conversion/utils.h	2016-01-04 09:49:18.136290000 +0000
+@@ -58,7 +58,8 @@
+     defined(__mips__) || defined(__powerpc__) || \
+     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+     defined(__SH4__) || defined(__alpha__) || \
+-    defined(_MIPS_ARCH_MIPS32R2)
++    defined(_MIPS_ARCH_MIPS32R2) || \
++    defined(__AARCH64EL__)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
+ #if defined(_WIN32)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601201133.u0KBXwTr021342>