Undo accidental checkin of bogus change
authorPhil Blundell <philb@gnu.org>
Wed, 17 Jun 2009 15:46:18 +0000 (15:46 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 17 Jun 2009 15:46:18 +0000 (15:46 +0000)
bfd/elf32-arm.c

index d06d3699db7957ce21211595b3a3e68211bc8211..e1f569b64f08101a827b0e3df7c1a9bbdfea5411 100644 (file)
@@ -3175,12 +3175,11 @@ arm_type_of_stub (struct bfd_link_info *info,
 
          /* We have an extra 2-bytes reach because of
             the mode change (bit 24 (H) of BLX encoding).  */
-         if ((branch_offset > (ARM_MAX_FWD_BRANCH_OFFSET + 2)
-               || (branch_offset < ARM_MAX_BWD_BRANCH_OFFSET)
-               || ((r_type == R_ARM_CALL) && !globals->use_blx)
-               || (r_type == R_ARM_JUMP24)
-               || (r_type == R_ARM_PLT32))
-              && !use_plt)
+         if (branch_offset > (ARM_MAX_FWD_BRANCH_OFFSET + 2)
+             || (branch_offset < ARM_MAX_BWD_BRANCH_OFFSET)
+             || ((r_type == R_ARM_CALL) && !globals->use_blx)
+             || (r_type == R_ARM_JUMP24)
+             || (r_type == R_ARM_PLT32))
            {
              stub_type = (info->shared | globals->pic_veneer)
                /* PIC stubs.  */