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.patch21
1 files changed, 12 insertions, 9 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
index 4428823f..4483a89e 100644
--- 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
@@ -1,17 +1,20 @@
1From 652c69cca5a9da92369378674707cdc59988bcc3 Mon Sep 17 00:00:00 2001 1From 9e0ee97de976d840819e2fa27d0baa7a6aa8e7d4 Mon Sep 17 00:00:00 2001
2From: Mahesh Bodapati <mbodapat@xilinx.com> 2From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Fri, 28 Oct 2022 13:57:48 +0530 3Date: Fri, 28 Oct 2022 13:57:48 +0530
4Subject: [PATCH 34/34] [Patch,MicroBlaze] : By default the linker will 4Subject: [PATCH 34/34] By default the linker will generate warnings if it is
5 generate warnings if it is creating an executable stack or a segment with 5 creating an executable stack or a segment with all three of read, write and
6 all three of read, write and execute permissions. These settings are not 6 execute permissions. These settings are not appropriate for all targets
7 appropriate for all targets 7
8Upstream-Status: Pending
9
10Signed-off-by: Mark Hatle <mark.hatle@amd.com>
8 11
9--- 12---
10 ld/configure.tgt | 1 + 13 ld/configure.tgt | 1 +
11 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
12 15
13diff --git a/ld/configure.tgt b/ld/configure.tgt 16diff --git a/ld/configure.tgt b/ld/configure.tgt
14index 80ffbcf23b3..198cd0f71e4 100644 17index e3fd0c2452b..6d6db66b99b 100644
15--- a/ld/configure.tgt 18--- a/ld/configure.tgt
16+++ b/ld/configure.tgt 19+++ b/ld/configure.tgt
17@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then 20@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
@@ -19,9 +22,9 @@ index 80ffbcf23b3..198cd0f71e4 100644
19 hppa*-*-* | \ 22 hppa*-*-* | \
20 mips*-*-* | \ 23 mips*-*-* | \
21+ microblaze*-*-* | \ 24+ microblaze*-*-* | \
22 sparc*-*-*) 25 sparc*-*-* | \
26 v850*-*-*)
23 ac_default_ld_warn_rwx_segments=0 27 ac_default_ld_warn_rwx_segments=0
24 ;;
25-- 28--
262.37.1 (Apple Git-137.1) 292.17.1
27 30