SHA256
1
0
forked from pool/binutils
binutils/aarch64-execstack.patch
2013-05-15 08:15:18 +00:00

26 lines
856 B
Diff

From 13cfe5d13f05b3887fb1e1827dd0834f6a109637 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Tue, 14 May 2013 17:12:55 +0200
Subject: [PATCH] Define elf_backend_default_execstack to 0 for aarch64
* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.
---
bfd/elf64-aarch64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c
index e3cae95..aef472f 100644
--- a/bfd/elf64-aarch64.c
+++ b/bfd/elf64-aarch64.c
@@ -7181,6 +7181,7 @@ const struct elf_size_info elf64_aarch64_size_info =
#define elf_backend_may_use_rela_p 1
#define elf_backend_default_use_rela_p 1
#define elf_backend_got_header_size (GOT_ENTRY_SIZE * 3)
+#define elf_backend_default_execstack 0
#undef elf_backend_obj_attrs_section
#define elf_backend_obj_attrs_section ".ARM.attributes"
--
1.8.2.3