Skip to content

Commit

Permalink
Merge pull request #163 from zl-wang/openj9
Browse files Browse the repository at this point in the history
Get rid of AIX linker option: -bnorwexec
  • Loading branch information
keithc-ca authored May 29, 2024
2 parents c67fccd + 7b76397 commit ae45e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/autoconf/flags-ldflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#

# ===========================================================================
# (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved
# (c) Copyright IBM Corp. 2019, 2024 All Rights Reserved
# ===========================================================================

AC_DEFUN([FLAGS_SETUP_LDFLAGS],
Expand Down Expand Up @@ -80,7 +80,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnolibpath -Wl,-bnoexpall \
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
BASIC_LDFLAGS_JVM_ONLY="$BASIC_LDFLAGS_JVM_ONLY -Wl,-lC_r -Wl,-bbigtoc"
fi
Expand Down

0 comments on commit ae45e55

Please sign in to comment.