8331541: [i386] linking with libjvm.so fails after JDK-8283326

Reviewed-by: djelinski, ihse
This commit is contained in:
Vladimir Petko 2024-05-08 22:36:25 +00:00 committed by Magnus Ihse Bursie
parent 588e314e4b
commit 2d622152b0
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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: