aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-22 16:47:01 +0000
committerNick Clifton <nickc@redhat.com>2008-02-22 16:47:01 +0000
commit584206dbd54bfbeed7e3d5943d796272b6c552b7 (patch)
tree5e68bb3925dd5a369bbe4bec30666cb1b1cdab0a /gas/config/tc-arm.c
parenta696b49ec591ed7ed09669102afc01b16e8f9cd0 (diff)
downloadgdb-584206dbd54bfbeed7e3d5943d796272b6c552b7.zip
gdb-584206dbd54bfbeed7e3d5943d796272b6c552b7.tar.gz
gdb-584206dbd54bfbeed7e3d5943d796272b6c552b7.tar.bz2
* config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
targeted ARM ports, otherwise just skip generating the reloc.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index b658005..01a4728 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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;