diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-07-14 12:58:31 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-07-18 10:18:48 +0200 |
commit | 06b5d4e3322c71df19712be8f1fffde29a509015 (patch) | |
tree | 059ff0805054e0b4ccbfcfebbd94223cd6e3912b /recipes/linux/linux | |
parent | 328c6515cb4363a4fc8233ac4e649c5661e9155c (diff) | |
download | openembedded-06b5d4e3322c71df19712be8f1fffde29a509015.tar.gz |
linux(-kexecboot)_git: bump SRCREV, add fix for bug 16310
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/linux/linux')
-rw-r--r-- | recipes/linux/linux/fix.module.loading.16310.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/linux/linux/fix.module.loading.16310.patch b/recipes/linux/linux/fix.module.loading.16310.patch new file mode 100644 index 0000000000..cd2fa6ca2d --- /dev/null +++ b/recipes/linux/linux/fix.module.loading.16310.patch @@ -0,0 +1,28 @@ +From 1cb348e903f81bb34abe00c9a06b42009ddca819 Mon Sep 17 00:00:00 2001 +From: Michal Marek <mmarek@suse.cz> +Date: Fri, 2 Jul 2010 13:17:37 +0200 +Subject: [PATCH] arm: Build with -fno-dwarf2-cfi-asm + +Commit d0679c7 restricted this workaround to powerpc only, but it turns +out that ARM needs it as well. Fixes +https://bugzilla.kernel.org/show_bug.cgi?id=16310 . + +Reported-by: Robert Nelson <robertcnelson@gmail.com> +Signed-off-by: Michal Marek <mmarek@suse.cz> + +diff --git a/arch/arm/Makefile b/arch/arm/Makefile +index 64ba313..862d4ba 100644 +--- a/arch/arm/Makefile ++++ b/arch/arm/Makefile +@@ -21,6 +21,11 @@ GZFLAGS :=-9 + # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: + KBUILD_CFLAGS +=$(call cc-option,-marm,) + ++# FIXME: the module load should be taught about the additional relocs ++# generated by this. ++# revert to pre-gcc-4.4 behaviour of .eh_frame ++KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) ++ + # Do not use arch/arm/defconfig - it's always outdated. + # Select a platform tht is kept up-to-date + KBUILD_DEFCONFIG := versatile_defconfig |