forked from omniti-labs/omnios-build
-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
306 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- a/make/autoconf/toolchain.m4 Sat Jul 3 15:56:43 2021 | ||
+++ b/make/autoconf/toolchain.m4 Sat Jul 3 16:11:51 2021 | ||
@@ -228,7 +228,11 @@ | ||
# Linux x86_64 needs higher binutils after 8265783 | ||
# (this really is a dependency on as version, but we take ld as a check for a general binutils version) | ||
if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then | ||
- TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25" | ||
+ if test "x$OPENJDK_TARGET_OS" = xsolaris; then | ||
+ TOOLCHAIN_MINIMUM_LD_VERSION_gcc="" | ||
+ else | ||
+ TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25" | ||
+ fi | ||
fi | ||
|
||
# Use indirect variable referencing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- /dev/null Sat Mar 4 12:15:07 2023 | ||
+++ a/make/data/charsetmapping/stdcs-solaris Sat Mar 4 12:03:56 2023 | ||
@@ -0,0 +1,25 @@ | ||
+# | ||
+# generate these charsets into sun.nio.cs | ||
+# | ||
+Big5 | ||
+Big5_Solaris | ||
+Big5_HKSCS # always together with Big5 | ||
+EUC_CN | ||
+EUC_KR | ||
+EUC_JP | ||
+EUC_JP_LINUX | ||
+EUC_JP_Open | ||
+EUC_TW | ||
+GBK | ||
+ISO_8859_11 | ||
+ISO_8859_3 | ||
+ISO_8859_6 | ||
+ISO_8859_8 | ||
+Johab | ||
+PCK | ||
+TIS_620 | ||
+JIS_X_0201 | ||
+JIS_X_0208 | ||
+JIS_X_0212 | ||
+JIS_X_0208_Solaris | ||
+JIS_X_0212_Solaris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Copied verbatim from the linux_x86 version | ||
|
||
--- /dev/null Thu Oct 19 11:20:19 2023 | ||
+++ b/src/hotspot/os_cpu/solaris_x86/safefetch_solaris_x86_64.S Thu Oct 19 11:02:38 2023 | ||
@@ -0,0 +1,58 @@ | ||
+# | ||
+# Copyright (c) 2022 SAP SE. All rights reserved. | ||
+# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. | ||
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
+# | ||
+# This code is free software; you can redistribute it and/or modify it | ||
+# under the terms of the GNU General Public License version 2 only, as | ||
+# published by the Free Software Foundation. | ||
+# | ||
+# This code is distributed in the hope that it will be useful, but WITHOUT | ||
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
+# version 2 for more details (a copy is included in the LICENSE file that | ||
+# accompanied this code). | ||
+# | ||
+# You should have received a copy of the GNU General Public License version | ||
+# 2 along with this work; if not, write to the Free Software Foundation, | ||
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
+# | ||
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
+# or visit www.oracle.com if you need additional information or have any | ||
+# questions. | ||
+# | ||
+ .globl SafeFetch32_impl | ||
+ .globl SafeFetchN_impl | ||
+ .globl _SafeFetch32_fault | ||
+ .globl _SafeFetchN_fault | ||
+ .globl _SafeFetch32_continuation | ||
+ .globl _SafeFetchN_continuation | ||
+ | ||
+ .text | ||
+ | ||
+ | ||
+ # Support for int SafeFetch32(int* address, int defaultval); | ||
+ # | ||
+ # %rdi : address | ||
+ # %esi : defaultval | ||
+ .type SafeFetch32_impl,@function | ||
+SafeFetch32_impl: | ||
+_SafeFetch32_fault: | ||
+ movl (%rdi), %eax # load target value, may fault | ||
+ ret | ||
+_SafeFetch32_continuation: | ||
+ movl %esi, %eax # return default | ||
+ ret | ||
+ | ||
+ # Support for intptr_t SafeFetchN(intptr_t* address, intptr_t defaultval); | ||
+ # | ||
+ # %rdi : address | ||
+ # %rsi : defaultval | ||
+ .type SafeFetchN_impl,@function | ||
+SafeFetchN_impl: | ||
+_SafeFetchN_fault: | ||
+ movq (%rdi), %rax # load target value, may fault | ||
+ ret | ||
+_SafeFetchN_continuation: | ||
+ movq %rsi, %rax # return default | ||
+ ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.