summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-04-03 20:46:32 +0000
committerMark Hatle <mark.hatle@amd.com>2023-04-12 13:15:01 -0700
commit1a3e5a614818d54fecd75edff0bf502d6e7b3084 (patch)
tree9488bd3ccdcfeff9bae840a563e7fbdac3a1691a
parent73fef13f1b3e16f0a51ae9bbedd9fc163c2b2507 (diff)
downloadmeta-xilinx-1a3e5a614818d54fecd75edff0bf502d6e7b3084.tar.gz
meta-microblaze: binutils: Fix patch application failure
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils/0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch17
1 files changed, 8 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..a03bb3fb 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,16 @@
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
8 7
9--- 8---
10 ld/configure.tgt | 1 + 9 ld/configure.tgt | 1 +
11 1 file changed, 1 insertion(+) 10 1 file changed, 1 insertion(+)
12 11
13diff --git a/ld/configure.tgt b/ld/configure.tgt 12diff --git a/ld/configure.tgt b/ld/configure.tgt
14index 80ffbcf23b3..198cd0f71e4 100644 13index e3fd0c2452b..6d6db66b99b 100644
15--- a/ld/configure.tgt 14--- a/ld/configure.tgt
16+++ b/ld/configure.tgt 15+++ b/ld/configure.tgt
17@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then 16@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
@@ -19,9 +18,9 @@ index 80ffbcf23b3..198cd0f71e4 100644
19 hppa*-*-* | \ 18 hppa*-*-* | \
20 mips*-*-* | \ 19 mips*-*-* | \
21+ microblaze*-*-* | \ 20+ microblaze*-*-* | \
22 sparc*-*-*) 21 sparc*-*-* | \
22 v850*-*-*)
23 ac_default_ld_warn_rwx_segments=0 23 ac_default_ld_warn_rwx_segments=0
24 ;;
25-- 24--
262.37.1 (Apple Git-137.1) 252.17.1
27 26