Index: bfd/elf64-x86-64.c =================================================================== RCS file: /cvs/src/src/bfd/elf64-x86-64.c,v retrieving revision 1.144 diff -u -r1.144 elf64-x86-64.c --- bfd/elf64-x86-64.c 18 Oct 2007 09:13:51 -0000 1.144 +++ bfd/elf64-x86-64.c 25 Nov 2007 14:19:17 -0000 @@ -1038,6 +1038,8 @@ case R_X86_64_TPOFF32: if (info->shared) { + if(0) + { (*_bfd_error_handler) (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), abfd, @@ -1045,6 +1047,7 @@ (h) ? h->root.root.string : "a local symbol"); bfd_set_error (bfd_error_bad_value); return FALSE; + } } break; @@ -1198,6 +1201,8 @@ && (sec->flags & SEC_ALLOC) != 0 && (sec->flags & SEC_READONLY) != 0) { + if(0) + { (*_bfd_error_handler) (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), abfd, @@ -1205,6 +1210,7 @@ (h) ? h->root.root.string : "a local symbol"); bfd_set_error (bfd_error_bad_value); return FALSE; + } } /* Fall through. */ @@ -2599,6 +2605,8 @@ || !is_32bit_relative_branch (contents, rel->r_offset))) { + if(0) + { if (h->def_regular && r_type == R_X86_64_PC32 && h->type == STT_FUNC @@ -2613,6 +2621,7 @@ h->root.root.string); bfd_set_error (bfd_error_bad_value); return FALSE; + } } /* Fall through. */