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