FreeBSD Bugzilla – Attachment 187451 Details for
Bug 223231
java/openjdk8: add support for aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add support for aarch64 to openjdk8
openjdk8-aarch64.diff (text/plain), 2.57 KB, created by
Steve Wills
on 2017-10-24 20:56:00 UTC
(
hide
)
Description:
patch to add support for aarch64 to openjdk8
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2017-10-24 20:56:00 UTC
Size:
2.57 KB
patch
obsolete
>Index: java/openjdk8/Makefile >=================================================================== >--- java/openjdk8/Makefile (revision 452283) >+++ java/openjdk8/Makefile (working copy) >@@ -51,7 +51,7 @@ > BUILD_DEPENDS+= ${UNZIP_CMD}:archivers/unzip > .endif > >-ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64 >+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 > WRKSRC= ${WRKDIR}/${PORTNAME} > > DOS2UNIX_FILES= jdk/src/bsd/doc/man/appletviewer.1 \ >Index: java/openjdk8/files/patch-openjdk_hotspot_src_os_bsd_vm_os__bsd.cpp >=================================================================== >--- java/openjdk8/files/patch-openjdk_hotspot_src_os_bsd_vm_os__bsd.cpp (nonexistent) >+++ java/openjdk8/files/patch-openjdk_hotspot_src_os_bsd_vm_os__bsd.cpp (working copy) >@@ -0,0 +1,30 @@ >+--- hotspot/src/os/bsd/vm/os_bsd.cpp.orig 2017-08-29 13:03:51.988142000 +0200 >++++ hotspot/src/os/bsd/vm/os_bsd.cpp 2017-08-29 13:09:21.107206000 +0200 >+@@ -275,6 +275,8 @@ static char cpu_arch[] = "sparcv9"; >+ # else >+ static char cpu_arch[] = "sparc"; >+ # endif >++#elif defined(AARCH64) >++static char cpu_arch[] = "aarch64"; >+ #else >+ #error Add appropriate cpu_arch setting >+ #endif >+@@ -1602,7 +1604,8 @@ void * os::dll_load(const char *filename, char *ebuf, >+ {EM_MIPS_RS3_LE, EM_MIPS_RS3_LE, ELFCLASS32, ELFDATA2LSB, (char*)"MIPSel"}, >+ {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_68K, EM_68K, ELFCLASS32, ELFDATA2MSB, (char*)"M68k"}, >++ {EM_AARCH64, EM_AARCH64, ELFCLASS64, ELFDATA2LSB, (char*)"AARCH64"} >+ }; >+ >+ #if (defined IA32) >+@@ -1633,6 +1636,8 @@ void * os::dll_load(const char *filename, char *ebuf, >+ static Elf32_Half running_arch_code=EM_MIPS; >+ #elif (defined M68K) >+ static Elf32_Half running_arch_code=EM_68K; >++ #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 > >Property changes on: java/openjdk8/files/patch-openjdk_hotspot_src_os_bsd_vm_os__bsd.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223231
: 187451