Skip to contentSkip to conversation

arm-toolchain/gcc-arm: add missing Signed-off-by tag

PATCH Applied Ross Burton 2 participants 4 messages Feb 20, 2023 – Feb 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm-toolchain/gcc-arm: add missing Signed-off-by tag

---
 .../gcc/gcc-arm-12.2/0026-rust-recursion-limit.patch             | 1 +
 1 file changed, 1 insertion(+)
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-12.2/0026-rust-recursion-limit.patch +1 -0
index bbe2f18f..e13a9962 100644
@@ -9,6 +9,7 @@ libiberty/
 	* rust-demangle.c (demangle_const): Add recursion limit.
 
 Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9234cdca6ee88badfc00297e72f13dac4e540c79]
+Signed-off-by: Sumit Garg <[email protected]>
 ---
  libiberty/rust-demangle.c | 29 ++++++++++++++++++++---------
  1 file changed, 20 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 arm/optee-os: add missing patch header

---
 .../0008-no-warn-rwx-segments.patch           | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
meta-arm/recipes-security/optee/optee-os-3.19.0/0008-no-warn-rwx-segments.patch +21 -0
index 2dc797b3..64a3d7e5 100644
@@ -1,3 +1,24 @@
+From cf2a2451f4e9300532d677bb3a8315494a3b3a82 Mon Sep 17 00:00:00 2001
+From: Jerome Forissier <[email protected]>
+Date: Fri, 5 Aug 2022 09:48:03 +0200
+Subject: [PATCH] core: link: add --no-warn-rwx-segments
+
+Signed-off-by: Anton Antonov <[email protected]>
+Upstream-Status: Backport [https://github.com/OP-TEE/optee_os/pull/5474]
+
+binutils ld.bfd generates one RWX LOAD segment by merging several sections
+with mixed R/W/X attributes (.text, .rodata, .data). After version 2.38 it
+also warns by default when that happens [1], which breaks the build due to
+--fatal-warnings. The RWX segment is not a problem for the TEE core, since
+that information is not used to set memory permissions. Therefore, silence
+the warning.
+
+Link: [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
+Link: https://sourceware.org/bugzilla/show_bug.cgi?id=29448
+Reported-by: Dominique Martinet <[email protected]>
+Signed-off-by: Jerome Forissier <[email protected]>
+Acked-by: Jens Wiklander <[email protected]>
+
 diff --git a/core/arch/arm/kernel/link.mk b/core/arch/arm/kernel/link.mk
 index 0e96e606c..3fbcb6804 100644
 --- a/core/arch/arm/kernel/link.mk
Signature · 1 line
2.34.1
Applied
#2 lore raw
In reply to Ross Burton
Quoted 1 line · Ross Burton

Applied, thanks!

[1/2] arm-toolchain/gcc-arm: add missing Signed-off-by tag

      commit: 69b73682b3b7c691716e6baaf50fee9a98548ef2
[2/2] arm/optee-os: add missing patch header
      commit: 047be751caf26735bb1de2b7d6ad296d9dbe7ce9

Best regards,

Signature · 1 line
Jon Mason <[email protected]>
Applied
#3 lore raw
In reply to Ross Burton
Quoted 1 line · Ross Burton

Applied, thanks!

[1/2] arm-toolchain/gcc-arm: add missing Signed-off-by tag

      commit: 69b73682b3b7c691716e6baaf50fee9a98548ef2
[2/2] arm/optee-os: add missing patch header
      commit: 047be751caf26735bb1de2b7d6ad296d9dbe7ce9

Best regards,

Signature · 1 line
Jon Mason <[email protected]>