X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=inline;f=target%2Flinux%2Fuml%2Fpatches%2F004-fix_section_warning.patch;fp=target%2Flinux%2Fuml%2Fpatches%2F004-fix_section_warning.patch;h=0000000000000000000000000000000000000000;hb=1b043cb00c034f51af0a07fe6a91539938fa6d17;hp=3e0d945ae2d9fd4b8994db03a586aaef986b84ff;hpb=a02f62c75f5990e1ae196f9cd23d2c1ffd582af7;p=openwrt-10.03%2F.git 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 3e0d945ae..000000000 --- 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 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: