aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-22 15:14:44 +0000
committerNick Clifton <nickc@redhat.com>2008-02-22 15:14:44 +0000
commit5ad3420347a8fe96a689bf14b93a9fec720be9ae (patch)
treedd22bcf7b5d713e9eb5e14edfbbfcb0561281e8d /gas/config
parent07dfcf38848fef6d958b810579ae5aeea6cb0e15 (diff)
downloadgdb-5ad3420347a8fe96a689bf14b93a9fec720be9ae.zip
gdb-5ad3420347a8fe96a689bf14b93a9fec720be9ae.tar.gz
gdb-5ad3420347a8fe96a689bf14b93a9fec720be9ae.tar.bz2
* config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
targeted ARM ports.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 2 insertions, 0 deletions
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;