aboutsummaryrefslogtreecommitdiff
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
commit2a23c2c5e553d3160ec322999ee893d8baa05a4f (patch)
treedbb4e5231006b8da2a946d364f7ac1b666388905 /bfd/elf32-xtensa.c
parent6d79d2ed417e13586d8549cb899b5fc66f5fb742 (diff)
downloadgdb-2a23c2c5e553d3160ec322999ee893d8baa05a4f.zip
gdb-2a23c2c5e553d3160ec322999ee893d8baa05a4f.tar.gz
gdb-2a23c2c5e553d3160ec322999ee893d8baa05a4f.tar.bz2
* 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 18610c7..4dce0ea 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));