arm64/elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces
[linux-2.6-microblaze.git] / arch / arm64 / include / asm / elf.h
index 0074e9f..0e7df6f 100644 (file)
  *                CPU*: | arm32      | arm64      |
  * ELF:                 |            |            |
  * ---------------------|------------|------------|
- * missing PT_GNU_STACK | exec-all   | exec-all   |
+ * missing PT_GNU_STACK | exec-all   | exec-none  |
  * PT_GNU_STACK == RWX  | exec-stack | exec-stack |
  * PT_GNU_STACK == RW   | exec-none  | exec-none  |
  *
  *  *all arm64 CPUs support NX, so there is no "lacks NX" column.
  *
  */
-#define elf_read_implies_exec(ex, stk) (stk == EXSTACK_DEFAULT)
+#define compat_elf_read_implies_exec(ex, stk)  (stk == EXSTACK_DEFAULT)
 
 #define CORE_DUMP_USE_REGSET
 #define ELF_EXEC_PAGESIZE      PAGE_SIZE