* elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
authorBob Wilson <bob.wilson@acm.org>
Wed, 22 Mar 2006 21:46:16 +0000 (21:46 +0000)
committerBob Wilson <bob.wilson@acm.org>
Wed, 22 Mar 2006 21:46:16 +0000 (21:46 +0000)
rel->r_addend is zero.

bfd/ChangeLog
bfd/elf32-xtensa.c

index 8895679e5accaed66493e34a5393341cb5d4e1ff..8f77cc3e4160bc732723119159fef56c6075c715 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
+       rel->r_addend is zero.
+
 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
 
        * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
index 18610c720f590227c81c6c262e4c3b241ef86598..4dce0eaf56affd82b88567d6a759fb1f20de541c 100644 (file)
@@ -640,7 +640,6 @@ xtensa_read_table_entries (bfd *abfd,
            {
              bfd_vma sym_off = get_elf_r_symndx_offset (abfd, r_symndx);
              BFD_ASSERT (sym_off == 0);
-             BFD_ASSERT (rel->r_addend == 0);
              blocks[block_count].address =
                (section_addr + sym_off + rel->r_addend
                 + bfd_get_32 (abfd, table_data + rel->r_offset));