changeset 8437:9fa5219f0206

8051712: regression Test7107135 crashes Summary: On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack Reviewed-by: dholmes, dlong, aph
author cjplummer
date Tue, 26 May 2015 11:26:50 -0700
parents 13fa184842fa
children 08f3dd4c5c04
files src/share/vm/utilities/elfFile.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/elfFile.cpp	Fri May 22 02:38:59 2015 +0300
+++ b/src/share/vm/utilities/elfFile.cpp	Tue May 26 11:26:50 2015 -0700
@@ -261,7 +261,12 @@
       }
     }
   }
+// AARCH64 defaults to noexecstack. All others default to execstack.
+#ifdef AARCH64
+  return true;
+#else
   return false;
+#endif
 }
 #endif