|
@@ -68,7 +68,7 @@ diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.c
|
|
|
index b08caf4d5d3..2bf084895ba 100644
|
|
|
--- a/src/hotspot/os/linux/os_linux.cpp
|
|
|
+++ b/src/hotspot/os/linux/os_linux.cpp
|
|
|
-@@ -1674,6 +1674,9 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
+@@ -1676,6 +1676,9 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
#ifndef EM_AARCH64
|
|
|
#define EM_AARCH64 183 /* ARM AARCH64 */
|
|
|
#endif
|
|
@@ -78,7 +78,7 @@ index b08caf4d5d3..2bf084895ba 100644
|
|
|
#ifndef EM_RISCV
|
|
|
#define EM_RISCV 243 /* RISC-V */
|
|
|
#endif
|
|
|
-@@ -1698,6 +1701,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
+@@ -1700,6 +1703,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
{EM_SH, EM_SH, ELFCLASS32, ELFDATA2MSB, (char*)"SuperH BE"},
|
|
|
#endif
|
|
|
{EM_ARM, EM_ARM, ELFCLASS32, ELFDATA2LSB, (char*)"ARM"},
|
|
@@ -86,7 +86,7 @@ index b08caf4d5d3..2bf084895ba 100644
|
|
|
// we only support 64 bit z architecture
|
|
|
{EM_S390, EM_S390, ELFCLASS64, ELFDATA2MSB, (char*)"IBM System/390"},
|
|
|
{EM_ALPHA, EM_ALPHA, ELFCLASS64, ELFDATA2LSB, (char*)"Alpha"},
|
|
|
-@@ -1726,6 +1730,8 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
+@@ -1728,6 +1732,8 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
static Elf32_Half running_arch_code=EM_PPC;
|
|
|
#elif (defined AARCH64)
|
|
|
static Elf32_Half running_arch_code=EM_AARCH64;
|
|
@@ -95,7 +95,7 @@ index b08caf4d5d3..2bf084895ba 100644
|
|
|
#elif (defined ARM)
|
|
|
static Elf32_Half running_arch_code=EM_ARM;
|
|
|
#elif (defined S390)
|
|
|
-@@ -1748,7 +1754,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
+@@ -1750,7 +1756,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
|
|
static Elf32_Half running_arch_code=EM_LOONGARCH;
|
|
|
#else
|
|
|
#error Method os::dll_load requires that one of following is defined:\
|