2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
authorThomas Schwinge <tschwinge@gnu.org>
Fri, 24 Sep 2010 11:59:19 +0000 (11:59 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Fri, 24 Sep 2010 11:59:19 +0000 (11:59 +0000)
* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
to STN_UNDEF, not SHN_UNDEF.

bfd/ChangeLog
bfd/elflink.c

index 4c8d252002ef26a36c9be72ee86ae4543965a2c4..22f9a2049fed88074a81cec21d68f18abd115cee 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-24  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
+       to STN_UNDEF, not SHN_UNDEF.
+
 2010-09-23  Bernd Schmidt  <bernds@codesourcery.com>
 
        * elf32-tic6x.c (elf32_tic6x_fake_sections): New function.
index 4351e28cfef2c6b10770b74790a2c3639c4165d8..bdd69660a59fa040ce2afc656ae4fe50717dfe8a 100644 (file)
@@ -12196,7 +12196,7 @@ bfd_elf_reloc_symbol_deleted_p (bfd_vma offset, void *cookie)
        continue;
 
       r_symndx = rcookie->rel->r_info >> rcookie->r_sym_shift;
-      if (r_symndx == SHN_UNDEF)
+      if (r_symndx == STN_UNDEF)
        return TRUE;
 
       if (r_symndx >= rcookie->locsymcount
This page took 0.03146 seconds and 4 git commands to generate.