summaryrefslogtreecommitdiff
path: root/target/linux/uml/patches/004-fix_section_warning.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-10 08:48:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-10 08:48:33 +0000
commite71f4e9df0bbb03f0ac14988ddb1478dc3b72d45 (patch)
tree4274fa26ce55866d31e44af10bdde89fa3e3a981 /target/linux/uml/patches/004-fix_section_warning.patch
parent6fd4369159b408b84fe0c41439c35b242c667e27 (diff)
downloadmtk-20170518-e71f4e9df0bbb03f0ac14988ddb1478dc3b72d45.zip
mtk-20170518-e71f4e9df0bbb03f0ac14988ddb1478dc3b72d45.tar.gz
mtk-20170518-e71f4e9df0bbb03f0ac14988ddb1478dc3b72d45.tar.bz2
move 2.6.30 patches to their appropriate directory
SVN-Revision: 19572
Diffstat (limited to 'target/linux/uml/patches/004-fix_section_warning.patch')
-rw-r--r--target/linux/uml/patches/004-fix_section_warning.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/uml/patches/004-fix_section_warning.patch b/target/linux/uml/patches/004-fix_section_warning.patch
deleted file mode 100644
index 3e0d945..0000000
--- a/target/linux/uml/patches/004-fix_section_warning.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-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 <linux/init.h> 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 <amwang@redhat.com>
-Cc: Jeff Dike <jdike@addtoit.com>
-Cc: Sam Ravnborg <sam@ravnborg.org>
-
----
---- 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: