* config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
authorNick Clifton <nickc@redhat.com>
Fri, 22 Feb 2008 16:47:01 +0000 (16:47 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Feb 2008 16:47:01 +0000 (16:47 +0000)
        targeted ARM ports, otherwise just skip generating the reloc.

gas/ChangeLog
gas/config/tc-arm.c

index 50895c5..bf47244 100644 (file)
@@ -1,7 +1,7 @@
 2008-02-22  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
-       targeted ARM ports.
+       targeted ARM ports, otherwise just skip generating the reloc.
 
 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
 
index b658005..01a4728 100644 (file)
@@ -6775,8 +6775,8 @@ do_bx (void)
 
 #ifdef OBJ_ELF
   if (EF_ARM_EABI_VERSION (meabi_flags) < EF_ARM_EABI_VER4)
-    want_reloc = FALSE;
 #endif
+    want_reloc = FALSE;
 
   if (want_reloc)
     inst.reloc.type = BFD_RELOC_ARM_V4BX;