2012-02-24 Luis Machado <lgustavo@codesourcery>
[deliverable/binutils-gdb.git] / bfd / elf32-frv.c
index 7f3c4dd23ebcca41d3aa4c83d1e09c722734b5fa..e4e7f2408ce04881e1624e59d251579ad547800b 100644 (file)
@@ -2896,7 +2896,10 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
        default:
        non_fdpic:
          picrel = NULL;
-         if (h && ! FRVFDPIC_SYM_LOCAL (info, h))
+         if (h
+             && ! FRVFDPIC_SYM_LOCAL (info, h)
+             && _bfd_elf_section_offset (output_bfd, info, input_section,
+                                         rel->r_offset) != (bfd_vma) -1)
            {
              info->callbacks->einfo
                (_("%H: relocation references symbol"
This page took 0.025078 seconds and 4 git commands to generate.