This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] New port @GOTOFF, @GOT,@PLT relocation token for target m32r
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Fri, 29 Jul 2005 18:19:49 +0900
- Subject: Re: [PATCH] New port @GOTOFF, @GOT,@PLT relocation token for target m32r
- References: <40D821D3.4090402@renesas.com>
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)