From 2d622152b07bba0aba8fd5b1e24293e28d6e69f5 Mon Sep 17 00:00:00 2001 From: Vladimir Petko Date: Wed, 8 May 2024 22:36:25 +0000 Subject: [PATCH] 8331541: [i386] linking with libjvm.so fails after JDK-8283326 Reviewed-by: djelinski, ihse --- make/autoconf/flags-ldflags.m4 | 1 - src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/make/autoconf/flags-ldflags.m4 b/make/autoconf/flags-ldflags.m4 index acb815515a2..c4a75fb89c3 100644 --- a/make/autoconf/flags-ldflags.m4 +++ b/make/autoconf/flags-ldflags.m4 @@ -118,7 +118,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER], # Setup LDFLAGS for linking executables if test "x$TOOLCHAIN_TYPE" = xgcc; then - EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined" # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous # java heap. if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then diff --git a/src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S b/src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S index 54775cb7e8e..a0f8577d8d1 100644 --- a/src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S +++ b/src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S @@ -36,7 +36,7 @@ # 8(%esp) : default value # 4(%esp) : crash address # 0(%esp) : return pc - .type _SafeFetch32_impl,@function + .type SafeFetch32_impl,@function SafeFetch32_impl: movl 4(%esp),%ecx # load address from stack _SafeFetch32_fault: