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