2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
[deliverable/binutils-gdb.git] / bfd / elfcode.h
index f7c89263eeab373f72918a5830e8cc6586a1127c..0cd11830bd2f0851d621b57f6d2c34785e9cd6b6 100644 (file)
@@ -1466,7 +1466,7 @@ elf_slurp_reloc_table_from_section (bfd *abfd,
       else
        relent->address = rela.r_offset - asect->vma;
 
-      if (ELF_R_SYM (rela.r_info) == 0)
+      if (ELF_R_SYM (rela.r_info) == STN_UNDEF)
        relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
       else if (ELF_R_SYM (rela.r_info) > symcount)
        {
This page took 0.025707 seconds and 4 git commands to generate.