Root/toolchain/binutils/patches/2.18/601-cris-errormsg.patch

1Index: binutils-2.18/bfd/elf32-cris.c
2===================================================================
3--- binutils-2.18.orig/bfd/elf32-cris.c 2007-06-28 09:19:34.053059600 +0200
4+++ binutils-2.18/bfd/elf32-cris.c 2007-06-28 09:19:39.058298688 +0200
5@@ -2694,12 +2694,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
24

Archive Download this file



interactive