summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch')
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch
new file mode 100644
index 00000000..4428823f
--- /dev/null
+++ b/meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch
@@ -0,0 +1,27 @@
1From 652c69cca5a9da92369378674707cdc59988bcc3 Mon Sep 17 00:00:00 2001
2From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Fri, 28 Oct 2022 13:57:48 +0530
4Subject: [PATCH 34/34] [Patch,MicroBlaze] : By default the linker will
5 generate warnings if it is creating an executable stack or a segment with
6 all three of read, write and execute permissions. These settings are not
7 appropriate for all targets
8
9---
10 ld/configure.tgt | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/ld/configure.tgt b/ld/configure.tgt
14index 80ffbcf23b3..198cd0f71e4 100644
15--- a/ld/configure.tgt
16+++ b/ld/configure.tgt
17@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
18 cris-*-* | crisv32-*-* | \
19 hppa*-*-* | \
20 mips*-*-* | \
21+ microblaze*-*-* | \
22 sparc*-*-*)
23 ac_default_ld_warn_rwx_segments=0
24 ;;
25--
262.37.1 (Apple Git-137.1)
27