This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New port @GOTOFF, @GOT,@PLT relocation token for target m32r


Hi Nick,

The following patch was not enough to check X_op attribute.
http://sourceware.org/ml/binutils/2004-06/msg00397.html

This is a patch to fix it.
Please commit it.

Regards,

Kazuhiro Inaoka

gas/ChangeLog

2005-07-29  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

	* config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.

Index: tc-m32r.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m32r.c,v
retrieving revision 1.46
diff -u -p -r1.46 tc-m32r.c
--- tc-m32r.c	20 Jul 2005 11:35:00 -0000	1.46
+++ tc-m32r.c	26 Jul 2005 09:11:32 -0000
@@ -479,7 +479,7 @@ m32r_check_fixup (expressionS *main_exp,
         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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]