# HG changeset patch # User mbaesken # Date 1556887138 -7200 # Node ID b77bf7f216f45ad37169c4f8d003feef5ca20a60 # Parent 77e95181b5d6cddbd91978344ebf7293a2965929 8223307: enable the Stack Execution Disable flag for JDK binaries on AIX Reviewed-by: erikj, mdoerr diff -r 77e95181b5d6 -r b77bf7f216f4 make/autoconf/flags-ldflags.m4 --- a/make/autoconf/flags-ldflags.m4 Thu May 09 07:33:28 2019 -0700 +++ b/make/autoconf/flags-ldflags.m4 Fri May 03 14:38:58 2019 +0200 @@ -1,5 +1,5 @@ # -# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -88,7 +88,7 @@ BASIC_LDFLAGS_JVM_ONLY="-library=%none -mt -z noversion" elif test "x$TOOLCHAIN_TYPE" = xxlc; then - BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \ + BASIC_LDFLAGS="-b64 -brtl -bnorwexec -bnolibpath -bexpall -bernotok -btextpsize:64K \ -bdatapsize:64K -bstackpsize:64K" # libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"