changeset 2981:fe8749a2c67c

PR1380: Add AArch64 support to Zero 2013-04-17 Andrew John Hughes <gnu.andrew@redhat.com> * Makefile.am: (ICEDTEA_PATCHES): Add patch after SH patch. * NEWS: Updated. * AUTHORS: Add Andreas and merge in THANKYOU. * THANKYOU: Removed. 2013-03-22 Andreas Schwab <schwab@suse.cz> PR1380: Add AArch64 support to Zero * patches/aarch64.patch: Add Zero support for AArch64.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Wed, 17 Apr 2013 07:56:18 +0100
parents ab418eb1e664
children 50031cd2f57a
files AUTHORS ChangeLog Makefile.am NEWS THANKYOU patches/aarch64.patch
diffstat 6 files changed, 43 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/AUTHORS	Tue Apr 16 18:39:51 2013 +0100
+++ b/AUTHORS	Wed Apr 17 07:56:18 2013 +0100
@@ -2,6 +2,7 @@
 Please keep this list in alphabetical order.
 
 Lillian Angel <langel@redhat.com>
+Alexis Ballier <aballier@gentoo.org>
 Alon Bar-Lev <alon.barlev@gmail.com>
 Gary Benson <gbenson@redhat.com>
 Tania Bento <tbento@redhat.com>
@@ -18,6 +19,7 @@
 Andrew John Hughes <gnu_andrew@member.fsf.org, gnu.andrew@redhat.com>
 Tomas Hurka <tomas.hurka@sun.com>
 Ioana Ivan <iivan@redhat.com>
+C. K. Jester-Young (cky944@gmail.com)
 Matthias Klose <doko@ubuntu.com>
 Francis Kung <fkung@redhat.com>
 Denis Lila <dlila@redhat.com>
@@ -32,6 +34,7 @@
 Mark Reinhold <mr@sun.com>
 Bernhard Rosenkränzer <bero@arklinux.org>
 Marc Schoenefeld <mschoene@redhat.com>
+Andreas Schwab <schwab@suse.cz>
 Keith Seitz <keiths@redhat.com>
 Andrew Su <asu@redhat.com, andrew.su@utoronto.ca>
 Joshua Sumali <jsumali@redhat.com>
@@ -39,6 +42,7 @@
 Christian Thalinger <twisti@complang.tuwien.ac.at>
 Dalibor Topic <robilad@kaffe.org>
 Arnaud Vandyck <avdyk@debian.org>
+Torsten Werner (mail.twerner@googlemail.com)
 Mark Wielaard <mark@klomp.org>
 Yi Zhan <yi.zhan@intel.com>
 
--- a/ChangeLog	Tue Apr 16 18:39:51 2013 +0100
+++ b/ChangeLog	Wed Apr 17 07:56:18 2013 +0100
@@ -1,3 +1,17 @@
+2013-04-17  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	* Makefile.am:
+	(ICEDTEA_PATCHES): Add patch after SH patch.
+	* NEWS: Updated.
+	* AUTHORS: Add Andreas and merge in THANKYOU.
+	* THANKYOU: Removed.
+
+2013-03-22  Andreas Schwab  <schwab@suse.cz>
+
+	PR1380: Add AArch64 support to Zero
+	* patches/aarch64.patch:
+	Add Zero support for AArch64.
+
 2013-04-16  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	* Makefile.am:
--- a/Makefile.am	Tue Apr 16 18:39:51 2013 +0100
+++ b/Makefile.am	Wed Apr 17 07:56:18 2013 +0100
@@ -544,6 +544,9 @@
 	patches/hotspot/original/6840152-jvm_crashes_with_heavyweight_monitors.patch
 endif
 
+# Needs to be after the addition of SH support to the original HotSpot
+ICEDTEA_PATCHES += patches/aarch64.patch
+
 if WITH_RHINO
 ICEDTEA_PATCHES += \
 	patches/rhino.patch
--- a/NEWS	Tue Apr 16 18:39:51 2013 +0100
+++ b/NEWS	Wed Apr 17 07:56:18 2013 +0100
@@ -15,6 +15,7 @@
 
 * New features
   - PR1317: Provide an option to build with a more up-to-date HotSpot
+  - PR1380: Add AArch64 support to Zero
 * Backports
   - S8009641: OpenJDK 6 build broken via 8007675 fix
   - S7197906: BlockOffsetArray::power_to_cards_back() needs to handle > 32 bit shifts (bundled HotSpot only)
--- a/THANKYOU	Tue Apr 16 18:39:51 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-The following have made minor contributions to the IcedTea
-project, such as testing, bug submission, or minor patches. See also
-the AUTHORS file, which lists people who have submitted major
-patches. If your name does not appear on either list, but should, let
-us know. Please keep this list in alphabetic order.
-
-Alexis Ballier (aballier@gentoo.org)
-Alon Bar-Lev (alon.barlev@gmail.com)
-C. K. Jester-Young  (cky944@gmail.com)
-Torsten Werner (mail.twerner@googlemail.com)
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/aarch64.patch	Wed Apr 17 07:56:18 2013 +0100
@@ -0,0 +1,21 @@
+--- openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp
++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp
+@@ -1893,7 +1893,8 @@ void * os::dll_load(const char *filename
+     {EM_MIPS,        EM_MIPS,    ELFCLASS32, ELFDATA2MSB, (char*)"MIPS"},
+     {EM_PARISC,      EM_PARISC,  ELFCLASS32, ELFDATA2MSB, (char*)"PARISC"},
+     {EM_68K,         EM_68K,     ELFCLASS32, ELFDATA2MSB, (char*)"M68k"},
+-    {EM_SH,          EM_SH,      ELFCLASS32, ELFDATA2LSB, (char*)"SH"} /* Support little endian only*/
++    {EM_SH,          EM_SH,      ELFCLASS32, ELFDATA2LSB, (char*)"SH"}, /* Support little endian only*/
++    {EM_AARCH64,     EM_AARCH64, ELFCLASS64, ELFDATA2LSB, (char*)"AARCH64"} /* Support little endian only*/
+   };
+ 
+   #if  (defined IA32)
+@@ -1926,6 +1927,8 @@ void * os::dll_load(const char *filename
+     static  Elf32_Half running_arch_code=EM_68K;
+   #elif  (defined SH)
+     static  Elf32_Half running_arch_code=EM_SH;
++  #elif  (defined AARCH64)
++    static  Elf32_Half running_arch_code=EM_AARCH64;
+   #else
+     #error Method os::dll_load requires that one of following is defined:\
+          IA32, AMD64, IA64, __sparc, __powerpc__, ARM, S390, ALPHA, MIPS, MIPSEL, PARISC, M68K, SH