# HG changeset patch # User Andrew John Hughes # Date 1366749724 -3600 # Node ID 1c641a995625db089dffe346400eebcd70cbd888 # Parent 6660c8ee4785bd0d5abbdb00bd67ca37859a73ba PR1380: Add AArch64 support to Zero 2013-04-17 Andrew John Hughes * 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 PR1380: Add AArch64 support to Zero * patches/aarch64.patch: Add Zero support for AArch64. diff -r 6660c8ee4785 -r 1c641a995625 AUTHORS --- a/AUTHORS Tue Apr 16 17:11:46 2013 +0100 +++ b/AUTHORS Tue Apr 23 21:42:04 2013 +0100 @@ -2,6 +2,7 @@ Please keep this list in alphabetical order. Lillian Angel +Alexis Ballier Alon Bar-Lev Gary Benson Tania Bento @@ -18,6 +19,7 @@ Andrew John Hughes Tomas Hurka Ioana Ivan +C. K. Jester-Young (cky944@gmail.com) Matthias Klose Francis Kung Denis Lila @@ -32,6 +34,7 @@ Mark Reinhold Bernhard Rosenkränzer Marc Schoenefeld +Andreas Schwab Keith Seitz Andrew Su Joshua Sumali @@ -39,6 +42,7 @@ Christian Thalinger Dalibor Topic Arnaud Vandyck +Torsten Werner (mail.twerner@googlemail.com) Mark Wielaard Yi Zhan diff -r 6660c8ee4785 -r 1c641a995625 ChangeLog --- a/ChangeLog Tue Apr 16 17:11:46 2013 +0100 +++ b/ChangeLog Tue Apr 23 21:42:04 2013 +0100 @@ -1,3 +1,17 @@ +2013-04-17 Andrew John Hughes + + * 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 + + PR1380: Add AArch64 support to Zero + * patches/aarch64.patch: + Add Zero support for AArch64. + 2013-03-11 Andrew John Hughes PR1339: Simplify the rewriter, avoiding concurrency. diff -r 6660c8ee4785 -r 1c641a995625 Makefile.am --- a/Makefile.am Tue Apr 16 17:11:46 2013 +0100 +++ b/Makefile.am Tue Apr 23 21:42:04 2013 +0100 @@ -548,6 +548,9 @@ patches/fix_get_stack_bounds_leak.patch \ patches/openjdk/7197906-handle_32_bit_shifts.patch +# 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 diff -r 6660c8ee4785 -r 1c641a995625 NEWS --- a/NEWS Tue Apr 16 17:11:46 2013 +0100 +++ b/NEWS Tue Apr 23 21:42:04 2013 +0100 @@ -14,6 +14,7 @@ * New features - JAXP, JAXWS & JAF supplied as patches rather than drops to aid subsequent patching. + - PR1380: Add AArch64 support to Zero * Security fixes - S6657673, CVE-2013-1518: Issues with JAXP - S7200507: Refactor Introspector internals diff -r 6660c8ee4785 -r 1c641a995625 THANKYOU --- a/THANKYOU Tue Apr 16 17:11:46 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 diff -r 6660c8ee4785 -r 1c641a995625 patches/aarch64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/aarch64.patch Tue Apr 23 21:42:04 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