From: Nick Clifton Date: Fri, 29 Jul 2005 13:52:00 +0000 (+0000) Subject: (m32r_check_fixup): Fixed X_op check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a7b9ba6058643f22eec1d04d981efdb1c78b12b;p=binutils-gdb.git (m32r_check_fixup): Fixed X_op check. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index bd65c4b6257..5bdaec66be9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-07-29 Kazuhiro Inaoka + + * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check. + 2007-07-27 H.J. Lu * config/tc-i386.c (handle_large_common): Declare only for ELF. diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index 978f3730028..54452c5433b 100644 --- a/gas/config/tc-m32r.c +++ b/gas/config/tc-m32r.c @@ -479,7 +479,7 @@ m32r_check_fixup (expressionS *main_exp, bfd_reloc_code_real_type *r_type_p) return 0; } - if (exp->X_op == O_PIC_reloc || exp->X_md != BFD_RELOC_UNUSED) + if (exp->X_op == O_PIC_reloc) { *r_type_p = exp->X_md; if (exp == main_exp)