* elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch.
+2013-06-28  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/15302
+       * elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch.
+
 2013-06-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
        * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Reserve one slot
 
       h->root.u.def.value = th->root.u.def.value & ~1;
     }
 
-  /* Make sure we are not applying ST_BRANCH_TO_ARM to symbols
-     for thumb-only targets.  */
-  if (using_thumb_only (htab)
-      && h->target_internal == ST_BRANCH_TO_ARM)
-    h->target_internal = ST_BRANCH_TO_THUMB;
-
   if (eh->dyn_relocs == NULL)
     return TRUE;