diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-11 15:57:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-11 15:57:10 +0000 |
commit | ca724bf2dab9f9cc4459320f696720b064ebfed9 (patch) | |
tree | 7cedeaf5841bd9e00cd4b6d333646124254bf70b | |
parent | d1f5c6e34f0dd06ad9a3f82988663268f854c6eb (diff) | |
download | gdb-ca724bf2dab9f9cc4459320f696720b064ebfed9.zip gdb-ca724bf2dab9f9cc4459320f696720b064ebfed9.tar.gz gdb-ca724bf2dab9f9cc4459320f696720b064ebfed9.tar.bz2 |
Remove redundant test in BFD_ASSERT
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff-alpha.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4b5600c..099c703 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-02-11 Nick Clifton <nickc@redhat.com> + + * coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from + BFD_ASSERT. + 2005-02-12 Alan Modra <amodra@bigpond.net.au> * elf64-ppc.c (toc_adjusting_stub_needed): Return true for diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c index 38d2e69..f29f732 100644 --- a/bfd/coff-alpha.c +++ b/bfd/coff-alpha.c @@ -668,7 +668,7 @@ alpha_adjust_reloc_in (abfd, intern, rptr) case ALPHA_R_OP_STORE: /* The STORE reloc needs the size and offset fields. We store them in the addend. */ - BFD_ASSERT (intern->r_offset <= 256 && intern->r_size <= 256); + BFD_ASSERT (intern->r_offset <= 256); rptr->addend = (intern->r_offset << 8) + intern->r_size; break; |