summaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-03-22 21:46:16 +0000
committerBob Wilson <bob.wilson@acm.org>2006-03-22 21:46:16 +0000
commit72649b6003dc3360e68bcaa5dfb1c97d21681280 (patch)
tree6c9600bff6ef535fc485b66e16d881a66750a2fe /bfd/elf32-xtensa.c
parent4d7a47149f21599fe613ae8bc730b758ce273a22 (diff)
downloadgdb-72649b6003dc3360e68bcaa5dfb1c97d21681280.tar.gz
* elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
rel->r_addend is zero.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 18610c720f5..4dce0eaf56a 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -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));