From a844918eadee68ac3744576a61c2002131866741 Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Thu, 27 Jan 2011 13:33:53 +0000
Subject: [PATCH] we don't support gcc 4.1.x

SVN-Revision: 25147
---
 .../patches-2.6.30/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.31/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.32/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.34/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.35/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.36/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.37/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 .../patches-2.6.38/221-binfmt_elf_gcc4.1.patch        | 11 -----------
 8 files changed, 88 deletions(-)
 delete mode 100644 target/linux/generic/patches-2.6.30/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.31/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.32/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.34/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.35/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.36/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.37/221-binfmt_elf_gcc4.1.patch
 delete mode 100644 target/linux/generic/patches-2.6.38/221-binfmt_elf_gcc4.1.patch

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 fa891e0f3d..0000000000
--- 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 fa891e0f3d..0000000000
--- 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 694737e408..0000000000
--- 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 f452a25774..0000000000
--- 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 f452a25774..0000000000
--- 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 f452a25774..0000000000
--- 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 f452a25774..0000000000
--- 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 b2aaca43d8..0000000000
--- 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.
-- 
GitLab