aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/uml/patches-2.6.39
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-03-17 11:55:59 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-03-17 11:55:59 +0000
commite45b55e6c10ff96c1e1b3105c1e0f51b00cd3a6e (patch)
tree998ddb3b6f2f70e4e890ac8580790e2fb6edba0f /target/linux/uml/patches-2.6.39
parent88c3bb3c954e97fc96ee3f3f813641a2c635b38e (diff)
downloadupstream-e45b55e6c10ff96c1e1b3105c1e0f51b00cd3a6e.tar.gz
upstream-e45b55e6c10ff96c1e1b3105c1e0f51b00cd3a6e.tar.bz2
upstream-e45b55e6c10ff96c1e1b3105c1e0f51b00cd3a6e.zip
[uml] remove support for old kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml/patches-2.6.39')
-rw-r--r--target/linux/uml/patches-2.6.39/001-gcc4_unit_at_a_time_i386_fix.patch11
-rw-r--r--target/linux/uml/patches-2.6.39/002-export___sprintf_chk.patch14
-rw-r--r--target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch24
-rw-r--r--target/linux/uml/patches-2.6.39/901-lib_zlib_deflate_visible.patch14
4 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/uml/patches-2.6.39/001-gcc4_unit_at_a_time_i386_fix.patch b/target/linux/uml/patches-2.6.39/001-gcc4_unit_at_a_time_i386_fix.patch
deleted file mode 100644
index 442c0ec76e..0000000000
--- a/target/linux/uml/patches-2.6.39/001-gcc4_unit_at_a_time_i386_fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/arch/um/Makefile-i386
-+++ b/arch/um/Makefile-i386
-@@ -35,7 +35,7 @@ cflags-y += -ffreestanding
- # Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use
- # a lot more stack due to the lack of sharing of stacklots. Also, gcc
- # 4.3.0 needs -funit-at-a-time for extern inline functions.
--KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then \
-+KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0403 ] ; then \
- echo $(call cc-option,-fno-unit-at-a-time); \
- else echo $(call cc-option,-funit-at-a-time); fi ;)
-
diff --git a/target/linux/uml/patches-2.6.39/002-export___sprintf_chk.patch b/target/linux/uml/patches-2.6.39/002-export___sprintf_chk.patch
deleted file mode 100644
index 1d3cf4911a..0000000000
--- a/target/linux/uml/patches-2.6.39/002-export___sprintf_chk.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/arch/um/os-Linux/user_syms.c b/arch/um/os-Linux/user_syms.c
-index 05f5ea8..9e71e7e 100644
---- a/arch/um/os-Linux/user_syms.c
-+++ b/arch/um/os-Linux/user_syms.c
-@@ -18,6 +18,9 @@ extern void *memmove(void *, const void *, size_t);
- extern void *memset(void *, int, size_t);
- extern int printf(const char *, ...);
-
-+extern int __sprintf_chk(char *str, int flag, size_t strlen, const char *format);
-+EXPORT_SYMBOL(__sprintf_chk);
-+
- /* If it's not defined, the export is included in lib/string.c.*/
- #ifdef __HAVE_ARCH_STRSTR
- EXPORT_SYMBOL(strstr);
diff --git a/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch b/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch
deleted file mode 100644
index 0bab54c0ba..0000000000
--- a/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/arch/um/kernel/uml.lds.S
-+++ b/arch/um/kernel/uml.lds.S
-@@ -35,6 +35,21 @@ SECTIONS
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- }
-+ /* Deal with multilib libc */
-+ .rel.plt :
-+ {
-+ *(.rel.plt)
-+ PROVIDE_HIDDEN (__rel_iplt_start = .);
-+ *(.rel.iplt)
-+ PROVIDE_HIDDEN (__rel_iplt_end = .);
-+ }
-+ .rela.plt :
-+ {
-+ *(.rela.plt)
-+ PROVIDE_HIDDEN (__rela_iplt_start = .);
-+ *(.rela.iplt)
-+ PROVIDE_HIDDEN (__rela_iplt_end = .);
-+ }
-
- . = ALIGN(PAGE_SIZE);
- .syscall_stub : {
diff --git a/target/linux/uml/patches-2.6.39/901-lib_zlib_deflate_visible.patch b/target/linux/uml/patches-2.6.39/901-lib_zlib_deflate_visible.patch
deleted file mode 100644
index f4aba9bd7a..0000000000
--- a/target/linux/uml/patches-2.6.39/901-lib_zlib_deflate_visible.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-make ZLIB_DEFLATE visible, so that we can choose whether we want it built-in
-or as a module
-
---- a/lib/Kconfig
-+++ b/lib/Kconfig
-@@ -98,7 +98,7 @@ config ZLIB_INFLATE
- tristate
-
- config ZLIB_DEFLATE
-- tristate
-+ tristate "Zlib compression"
-
- config LZO_COMPRESS
- tristate