Skip to content

Commit 1050982

Browse files
xiangzhaignu-andrew
authored andcommitted
8315020: The macro definition for LoongArch64 zero build is not accurate.
Reviewed-by: andrew Backport-of: 725ec0c
1 parent 012f59c commit 1050982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hotspot/src/os/linux/vm/os_linux.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,11 +2008,11 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen)
20082008
static Elf32_Half running_arch_code=EM_68K;
20092009
#elif (defined AARCH64)
20102010
static Elf32_Half running_arch_code=EM_AARCH64;
2011-
#elif (defined LOONGARCH)
2011+
#elif (defined LOONGARCH64)
20122012
static Elf32_Half running_arch_code=EM_LOONGARCH;
20132013
#else
20142014
#error Method os::dll_load requires that one of following is defined:\
2015-
IA32, AMD64, IA64, __sparc, __powerpc__, ARM, S390, ALPHA, MIPS, MIPSEL, PARISC, M68K, AARCH64, LOONGARCH
2015+
IA32, AMD64, IA64, __sparc, __powerpc__, ARM, S390, ALPHA, MIPS, MIPSEL, PARISC, M68K, AARCH64, LOONGARCH64
20162016
#endif
20172017

20182018
// Identify compatability class for VM's architecture and library's architecture

0 commit comments

Comments
 (0)