Fix address violation parsing a corrupt SOM binary.
[deliverable/binutils-gdb.git] / bfd / elf-m10300.c
index f9d8089704087b8df5d06439d43e1cbbd11f151b..e59f083e04de6955b434ab010b8971989e20940f 100644 (file)
@@ -1094,7 +1094,7 @@ mn10300_elf_check_relocs (bfd *abfd,
 
          /* PR15323, ref flags aren't set for references in the same
             object.  */
-         h->root.non_ir_ref = 1;
+         h->root.non_ir_ref_regular = 1;
        }
 
       r_type = ELF32_R_TYPE (rel->r_info);
@@ -1520,7 +1520,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto,
          /* Do not generate relocs when an R_MN10300_32 has been used
             with an R_MN10300_SYM_DIFF to compute a difference of two
             symbols.  */
-         && is_sym_diff_reloc == FALSE
+         && !is_sym_diff_reloc
          /* Also, do not generate a reloc when the symbol associated
             with the R_MN10300_32 reloc is absolute - there is no
             need for a run time computation in this case.  */
This page took 0.022983 seconds and 4 git commands to generate.