* config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF

targeted ARM ports.
This commit is contained in:
Nick Clifton 2008-02-22 15:14:44 +00:00
parent 07dfcf3884
commit 5ad3420347
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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.
2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update -march= and .arch.

View file

@ -6773,8 +6773,10 @@ do_bx (void)
if (object_arch && !ARM_CPU_HAS_FEATURE (*object_arch, arm_ext_v5))
want_reloc = TRUE;
#ifdef OBJ_ELF
if (EF_ARM_EABI_VERSION (meabi_flags) < EF_ARM_EABI_VER4)
want_reloc = FALSE;
#endif
if (want_reloc)
inst.reloc.type = BFD_RELOC_ARM_V4BX;