From e71f4e9df0bbb03f0ac14988ddb1478dc3b72d45 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 10 Feb 2010 08:48:33 +0000 Subject: move 2.6.30 patches to their appropriate directory SVN-Revision: 19572 --- .../patches-2.6.30/004-fix_section_warning.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/linux/uml/patches-2.6.30/004-fix_section_warning.patch (limited to 'target/linux/uml/patches-2.6.30/004-fix_section_warning.patch') diff --git a/target/linux/uml/patches-2.6.30/004-fix_section_warning.patch b/target/linux/uml/patches-2.6.30/004-fix_section_warning.patch new file mode 100644 index 0000000..3e0d945 --- /dev/null +++ b/target/linux/uml/patches-2.6.30/004-fix_section_warning.patch @@ -0,0 +1,38 @@ +When I compiled uml on x86_64, I got this warning: + + MODPOST vmlinux.o +WARNING: vmlinux.o (.__syscall_stub.2): unexpected non-allocatable section. +Did you forget to use "ax"/"aw" in a .S file? +Note that for example contains +section definitions for use in .S files. + +Because modpost checks for missing SHF_ALLOC section flag. So just +add it. :) + +Signed-off-by: WANG Cong +Cc: Jeff Dike +Cc: Sam Ravnborg + +--- +--- a/arch/um/sys-x86_64/stub.S ++++ b/arch/um/sys-x86_64/stub.S +@@ -1,7 +1,7 @@ + #include "as-layout.h" + + .globl syscall_stub +-.section .__syscall_stub, "x" ++.section .__syscall_stub, "ax" + syscall_stub: + syscall + /* We don't have 64-bit constants, so this constructs the address +--- a/arch/um/sys-i386/stub.S ++++ b/arch/um/sys-i386/stub.S +@@ -1,7 +1,7 @@ + #include "as-layout.h" + + .globl syscall_stub +-.section .__syscall_stub, "x" ++.section .__syscall_stub, "ax" + + .globl batch_syscall_stub + batch_syscall_stub: -- cgit v1.1