diff options
author | Mirko Vogt <mirko@openwrt.org> | 2009-08-22 12:46:12 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2009-08-22 12:46:12 +0000 |
commit | 6e2a58ac3bdec3315fd9934cf46746143243594f (patch) | |
tree | 2e86c133fcec02de817a54513c897f0580600950 /target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch | |
parent | 75ee3370d9bedff6be7a12431ceef5606252e90a (diff) | |
download | upstream-6e2a58ac3bdec3315fd9934cf46746143243594f.tar.gz upstream-6e2a58ac3bdec3315fd9934cf46746143243594f.tar.bz2 upstream-6e2a58ac3bdec3315fd9934cf46746143243594f.zip |
add generic patchset levelled up to 2.6.31-rc6
SVN-Revision: 17351
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch b/target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch new file mode 100644 index 0000000000..fa891e0f3d --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.31/221-binfmt_elf_gcc4.1.patch @@ -0,0 +1,11 @@ +--- 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. |