diff options
author | Bob Wilson <bob.wilson@acm.org> | 2006-03-22 21:46:16 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2006-03-22 21:46:16 +0000 |
commit | 2a23c2c5e553d3160ec322999ee893d8baa05a4f (patch) | |
tree | dbb4e5231006b8da2a946d364f7ac1b666388905 /bfd | |
parent | 6d79d2ed417e13586d8549cb899b5fc66f5fb742 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-xtensa.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8895679..8f77cc3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 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)); |