aboutsummaryrefslogtreecommitdiff
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
parenta696b49ec591ed7ed09669102afc01b16e8f9cd0 (diff)
downloadfsf-binutils-gdb-584206dbd54bfbeed7e3d5943d796272b6c552b7.zip
fsf-binutils-gdb-584206dbd54bfbeed7e3d5943d796272b6c552b7.tar.gz
fsf-binutils-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.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 50895c5..bf47244 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
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;