From 5ad3420347a8fe96a689bf14b93a9fec720be9ae Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 22 Feb 2008 15:14:44 +0000 Subject: * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF targeted ARM ports. --- gas/config/tc-arm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/config') diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 4d8eb42..b658005 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; -- cgit v1.1