From: Nick Clifton Date: Fri, 22 Feb 2008 16:47:01 +0000 (+0000) Subject: * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=584206dbd54bfbeed7e3d5943d796272b6c552b7;p=binutils-gdb.git * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF targeted ARM ports, otherwise just skip generating the reloc. --- 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;