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

targeted ARM ports, otherwise just skip generating the reloc.
This commit is contained in:
Nick Clifton 2008-02-22 16:47:01 +00:00
parent a696b49ec5
commit 584206dbd5
2 changed files with 2 additions and 2 deletions

View 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>

View 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;