Hello,  please review this small fix .

 

It adds  stack protection compile flags for xlc/AIX .

 

See :

 

https://www.ibm.com/support/knowledgecenter/SSGH2K_12.1.0/com.ibm.xlc121.aix.doc/compiler_ref/opt_stackprotect.html

 

 

"Provides protection against malicious code or programming errors that overwrite or corrupt the stack." 
The patch will set the stack protection flags .
 


(  Similar changes have been done for Linux
:   8199552: Update to build scripts 
https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/8b060cdf0251
Introduced stack protection compile flags for Linux/gcc  ( -fstack-protector ) .   )

 

 

Bug/webrev :

 

https://bugs.openjdk.java.net/browse/JDK-8217233

 

http://cr.openjdk.java.net/~mbaesken/webrevs/8217233.0/

 

 

Thanks, Matthias