* elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that

rel->r_addend is zero.
This commit is contained in:
Bob Wilson 2006-03-22 21:46:16 +00:00
parent 6d79d2ed41
commit 2a23c2c5e5
2 changed files with 5 additions and 1 deletions

View 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

View 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));