1.1 --- a/common/autoconf/generated-configure.sh Mon Jan 22 13:28:40 2018 -0800 1.2 +++ b/common/autoconf/generated-configure.sh Thu Feb 01 17:53:51 2018 +0000 1.3 @@ -3776,7 +3776,7 @@ 1.4 1.5 1.6 # 1.7 -# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 1.8 +# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. 1.9 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.10 # 1.11 # This code is free software; you can redistribute it and/or modify it 1.12 @@ -3912,7 +3912,7 @@ 1.13 #CUSTOM_AUTOCONF_INCLUDE 1.14 1.15 # Do not change or remove the following line, it is needed for consistency checks: 1.16 -DATE_WHEN_GENERATED=1501170108 1.17 +DATE_WHEN_GENERATED=1517507181 1.18 1.19 ############################################################################### 1.20 # 1.21 @@ -30178,9 +30178,10 @@ 1.22 LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker --hash-style=both " 1.23 fi 1.24 if test "x$OPENJDK_TARGET_OS" = xlinux; then 1.25 - # And since we now know that the linker is gnu, then add -z defs, to forbid 1.26 - # undefined symbols in object files. 1.27 - LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -z -Xlinker defs" 1.28 + # And since we now know that the linker is gnu, then add: 1.29 + # -z defs, to forbid undefined symbols in object files 1.30 + # -z noexecstack, to mark stack regions as non-executable 1.31 + LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -z -Xlinker defs -Xlinker -z -Xlinker noexecstack" 1.32 if test "x$DEBUG_LEVEL" = "xrelease"; then 1.33 # When building release libraries, tell the linker optimize them. 1.34 # Should this be supplied to the OSS linker as well?