added several patches to make packages compile for the foxboard
[openwrt-10.03/.git] / toolchain / binutils / patches / 2.17 / 601-cris-errormsg.patch
1 diff -urN binutils-2.17.orig/bfd/elf32-cris.c binutils-2.17/bfd/elf32-cris.c
2 --- binutils-2.17.orig/bfd/elf32-cris.c 2007-06-12 22:23:24.000000000 +0200
3 +++ binutils-2.17/bfd/elf32-cris.c      2007-06-12 22:28:54.000000000 +0200
4 @@ -2709,12 +2709,12 @@
5               && (sec->flags & SEC_READONLY) != 0)
6             {
7               /* FIXME: How do we make this optionally a warning only?  */
8 -             (*_bfd_error_handler)
9 -               (_("%B, section %A:\n  relocation %s should not"
10 -                  " be used in a shared object; recompile with -fPIC"),
11 -                abfd,
12 -                sec,
13 -                cris_elf_howto_table[r_type].name);
14 +         //    (*_bfd_error_handler)
15 +               //(_("%B, section %A:\n  relocation %s should not"
16 +                 // " be used in a shared object; recompile with -fPIC"),
17 +//              abfd,
18 +//              sec,
19 +//              cris_elf_howto_table[r_type].name);
20             }
21           /* Fall through.  */
22