From: Gabor Juhos Date: Wed, 23 Sep 2009 12:05:44 +0000 (+0000) Subject: uml: refresh patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1eeff91ada5cc316de36f5b28e5124c6c7c4edbd;p=openwrt%2Fstaging%2Fansuel.git uml: refresh patches SVN-Revision: 17684 --- diff --git a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch b/target/linux/uml/patches/003-memcpy_x86_64_fix.patch index c15828c3aa..d7920059b5 100644 --- a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch +++ b/target/linux/uml/patches/003-memcpy_x86_64_fix.patch @@ -1,6 +1,6 @@ ---- a/arch/um/os-Linux/user_syms.c 2009-08-16 23:19:38.000000000 +0200 -+++ b/arch/um/os-Linux/user_syms.c 2009-09-01 17:05:40.000000000 +0200 -@@ -23,10 +23,8 @@ +--- a/arch/um/os-Linux/user_syms.c ++++ b/arch/um/os-Linux/user_syms.c +@@ -23,10 +23,8 @@ extern int printf(const char *, ...); EXPORT_SYMBOL(strstr); #endif @@ -11,8 +11,8 @@ EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(memset); ---- a/arch/um/sys-x86_64/ksyms.c 2009-08-16 23:19:38.000000000 +0200 -+++ b/arch/um/sys-x86_64/ksyms.c 2009-09-01 17:13:47.000000000 +0200 +--- a/arch/um/sys-x86_64/ksyms.c ++++ b/arch/um/sys-x86_64/ksyms.c @@ -2,10 +2,5 @@ #include #include diff --git a/target/linux/uml/patches/004-fix_section_warning.patch b/target/linux/uml/patches/004-fix_section_warning.patch index bd863005b0..3e0d945ae2 100644 --- a/target/linux/uml/patches/004-fix_section_warning.patch +++ b/target/linux/uml/patches/004-fix_section_warning.patch @@ -14,8 +14,6 @@ Cc: Jeff Dike Cc: Sam Ravnborg --- -diff --git a/arch/um/sys-x86_64/stub.S b/arch/um/sys-x86_64/stub.S -index 6d9edf9..20e4a96 100644 --- a/arch/um/sys-x86_64/stub.S +++ b/arch/um/sys-x86_64/stub.S @@ -1,7 +1,7 @@ @@ -27,8 +25,6 @@ index 6d9edf9..20e4a96 100644 syscall_stub: syscall /* We don't have 64-bit constants, so this constructs the address -diff --git a/arch/um/sys-i386/stub.S b/arch/um/sys-i386/stub.S -index c41b04b..54a36ec 100644 --- a/arch/um/sys-i386/stub.S +++ b/arch/um/sys-i386/stub.S @@ -1,7 +1,7 @@ @@ -40,8 +36,3 @@ index c41b04b..54a36ec 100644 .globl batch_syscall_stub batch_syscall_stub: --- -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html -Please read the FAQ at http://www.tux.org/lkml/ diff --git a/target/linux/uml/patches/005-fix_bash4_builds.patch b/target/linux/uml/patches/005-fix_bash4_builds.patch index 956182489d..687f5f04e8 100644 --- a/target/linux/uml/patches/005-fix_bash4_builds.patch +++ b/target/linux/uml/patches/005-fix_bash4_builds.patch @@ -11,11 +11,9 @@ Date: Sun Sep 6 14:36:01 2009 +0200 Signed-off-by: Paul Bolle -diff --git a/arch/um/Makefile b/arch/um/Makefile -index 0728def..dc1ea7d 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile -@@ -99,9 +99,6 @@ CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) +@@ -99,9 +99,6 @@ CFLAGS_NO_HARDENING := $(call cc-option, CONFIG_KERNEL_STACK_ORDER ?= 2 STACK_SIZE := $(shell echo $$[ 4096 * (1 << $(CONFIG_KERNEL_STACK_ORDER)) ] ) @@ -32,8 +30,6 @@ index 0728def..dc1ea7d 100644 -export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH DEV_NULL_PATH +export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH DEV_NULL_PATH \ + ELF_ARCH ELF_FORMAT STACK_SIZE START -diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile -index 388ec0a..2907436 100644 --- a/arch/um/kernel/Makefile +++ b/arch/um/kernel/Makefile @@ -3,6 +3,10 @@