From 584206dbd54bfbeed7e3d5943d796272b6c552b7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 22 Feb 2008 16:47:01 +0000 Subject: [PATCH] * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF targeted ARM ports, otherwise just skip generating the reloc. --- gas/ChangeLog | 2 +- gas/config/tc-arm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 50895c54fdf..bf47244d912 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,7 +1,7 @@ 2008-02-22 Nick Clifton * 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 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b6580057118..01a47283539 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; -- 2.30.2