Remove redundant test in BFD_ASSERT
authorNick Clifton <nickc@redhat.com>
Fri, 11 Feb 2005 15:57:10 +0000 (15:57 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Feb 2005 15:57:10 +0000 (15:57 +0000)
bfd/ChangeLog
bfd/coff-alpha.c

index 4b5600c9c546223ea09a3325a698e30930ae7624..099c7032e7731be5573d8041b9ada5395e108263 100644 (file)
@@ -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
index 38d2e699b9482f226a63087f484ab749cc69c48c..f29f732575e2c26b4b6f4cb4553103f6e0ec3f67 100644 (file)
@@ -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;