aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c7df07e..50895c5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
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;