From: kaloz Date: Thu, 27 Jan 2011 13:33:53 +0000 (+0000) Subject: [target/generic/mips]: we don't support gcc 4.1.x X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/83a46ae9f3a38b16326dd1c63519575f3a56dc34?hp=58f5ee719e2afcb37392e3a5dc5700b2437ecc68 [target/generic/mips]: we don't support gcc 4.1.x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25147 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic/patches-2.6.30/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.30/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index fa891e0f3..000000000 --- a/target/linux/generic/patches-2.6.30/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1193,7 +1193,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.31/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.31/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index fa891e0f3..000000000 --- a/target/linux/generic/patches-2.6.31/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1193,7 +1193,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.32/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.32/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index 694737e40..000000000 --- a/target/linux/generic/patches-2.6.32/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1170,7 +1170,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.34/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.34/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index f452a2577..000000000 --- a/target/linux/generic/patches-2.6.34/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1136,7 +1136,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.35/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.35/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index f452a2577..000000000 --- a/target/linux/generic/patches-2.6.35/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1136,7 +1136,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.36/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.36/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index f452a2577..000000000 --- a/target/linux/generic/patches-2.6.36/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1136,7 +1136,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.37/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.37/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index f452a2577..000000000 --- a/target/linux/generic/patches-2.6.37/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1136,7 +1136,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC. diff --git a/target/linux/generic/patches-2.6.38/221-binfmt_elf_gcc4.1.patch b/target/linux/generic/patches-2.6.38/221-binfmt_elf_gcc4.1.patch deleted file mode 100644 index b2aaca43d..000000000 --- a/target/linux/generic/patches-2.6.38/221-binfmt_elf_gcc4.1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/fs/binfmt_elf.c -+++ b/fs/binfmt_elf.c -@@ -1131,7 +1131,7 @@ static unsigned long vma_dump_size(struc - if (FILTER(ELF_HEADERS) && - vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { - u32 __user *header = (u32 __user *) vma->vm_start; -- u32 word; -+ u32 word = 0; - mm_segment_t fs = get_fs(); - /* - * Doing it this way gets the constant folded by GCC.