[Armadeus-commitlog] armadeus branch, buildroot-update, updated. armadeus-6.0-132-gdb53ae0
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2016-09-30 13:36:45
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via db53ae09f6da3f0c062c57d9a25bf8f15fda412c (commit)
from 0d2a390a6cec4299a355ac5d14b41db5ed48041d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit db53ae09f6da3f0c062c57d9a25bf8f15fda412c
Author: Sébastien Szymanski <seb...@ar...>
Date: Fri Sep 30 15:39:37 2016 +0200
[LINUX] 3.10.mx6_legacy: fix compilation with gcc 5
-----------------------------------------------------------------------
Summary of changes:
...LLVMLinux-use-static-inline-in-ARM-ftrace.patch | 52 ++++++++++++++++++++
...drop-warning-about-return_address-not-usi.patch | 40 +++++++++++++++
2 files changed, 92 insertions(+), 0 deletions(-)
create mode 100644 patches/linux/3.10.mx6_legacy/0459-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
create mode 100644 patches/linux/3.10.mx6_legacy/0460-ARM-8160-1-drop-warning-about-return_address-not-usi.patch
diff --git a/patches/linux/3.10.mx6_legacy/0459-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch b/patches/linux/3.10.mx6_legacy/0459-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
new file mode 100644
index 0000000..1449a47
--- /dev/null
+++ b/patches/linux/3.10.mx6_legacy/0459-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
@@ -0,0 +1,52 @@
+From aeea3592a13bf12861943e44fc48f1f270941f8d Mon Sep 17 00:00:00 2001
+From: Behan Webster <be...@co...>
+Date: Wed, 24 Sep 2014 01:06:46 +0100
+Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
+
+With compilers which follow the C99 standard (like modern versions of gcc and
+clang), "extern inline" does the wrong thing (emits code for an externally
+linkable version of the inline function). In this case using static inline
+and removing the NULL version of return_address in return_address.c does
+the right thing.
+
+Signed-off-by: Behan Webster <be...@co...>
+Reviewed-by: Mark Charlebois <cha...@gm...>
+Acked-by: Steven Rostedt <ro...@go...>
+Signed-off-by: Russell King <rmk...@ar...>
+---
+ arch/arm/include/asm/ftrace.h | 2 +-
+ arch/arm/kernel/return_address.c | 5 -----
+ 2 files changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
+index 39eb16b..bfe2a2f 100644
+--- a/arch/arm/include/asm/ftrace.h
++++ b/arch/arm/include/asm/ftrace.h
+@@ -45,7 +45,7 @@ void *return_address(unsigned int);
+
+ #else
+
+-extern inline void *return_address(unsigned int level)
++static inline void *return_address(unsigned int level)
+ {
+ return NULL;
+ }
+diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
+index fafedd8..f6aa84d 100644
+--- a/arch/arm/kernel/return_address.c
++++ b/arch/arm/kernel/return_address.c
+@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
+ #warning "TODO: return_address should use unwind tables"
+ #endif
+
+-void *return_address(unsigned int level)
+-{
+- return NULL;
+-}
+-
+ #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
+
+ EXPORT_SYMBOL_GPL(return_address);
+--
+2.3.6
+
diff --git a/patches/linux/3.10.mx6_legacy/0460-ARM-8160-1-drop-warning-about-return_address-not-usi.patch b/patches/linux/3.10.mx6_legacy/0460-ARM-8160-1-drop-warning-about-return_address-not-usi.patch
new file mode 100644
index 0000000..c8fe5e6
--- /dev/null
+++ b/patches/linux/3.10.mx6_legacy/0460-ARM-8160-1-drop-warning-about-return_address-not-usi.patch
@@ -0,0 +1,40 @@
+From e16343c47e4276f5ebc77ca16feb5e50ca1918f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.k...@pe...>
+Date: Wed, 24 Sep 2014 08:51:57 +0100
+Subject: [PATCH] ARM: 8160/1: drop warning about return_address not using
+ unwind tables
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The warning was introduced in 2009 (commit 4bf1fa5a34aa ([ARM] 5613/1:
+implement CALLER_ADDRESSx)). The only "problem" here is that
+CALLER_ADDRESSx for x > 1 returns NULL which doesn't do much harm.
+
+The drawback of implementing a fix (i.e. use unwind tables to implement CALLER_ADDRESSx) is that much of the unwinder code would need to be marked as not
+traceable.
+
+Signed-off-by: Uwe Kleine-König <u.k...@pe...>
+Signed-off-by: Russell King <rmk...@ar...>
+---
+ arch/arm/kernel/return_address.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
+index f6aa84d..98ea4b7 100644
+--- a/arch/arm/kernel/return_address.c
++++ b/arch/arm/kernel/return_address.c
+@@ -59,10 +59,6 @@ void *return_address(unsigned int level)
+
+ #else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */
+
+-#if defined(CONFIG_ARM_UNWIND)
+-#warning "TODO: return_address should use unwind tables"
+-#endif
+-
+ #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
+
+ EXPORT_SYMBOL_GPL(return_address);
+--
+2.3.6
+
hooks/post-receive
--
armadeus
|