This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bogon in [PATCH] MIPS gas: irix relocation tweaks
- From: Stan Cox <scox at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 08 Nov 2002 12:03:34 -0500
- Subject: Re: bogon in [PATCH] MIPS gas: irix relocation tweaks
- Organization: Red Hat, RDU, NC
- References: <yov5iszvz5eu.fsf@broadcom.com>
> if (HAVE_NEWABI && fixp->fx_r_type == BFD_RELOC_MIPS_GOT_LO16)
Thanks for noticing.
tc-mips.c (tc_gen_reloc): Fix GOT_LO16/GOT_DISP typo.
/scox/gnunet/src/gas/config /scox/gnunet/src/gas /scox/gnunet/src/bfd ~
Index: tc-mips.c
===================================================================
RCS file: /cvs/uberbaum/./gas/config/tc-mips.c,v
retrieving revision 1.165
diff -u -2 -p -r1.165 tc-mips.c
--- tc-mips.c 18 Sep 2002 08:02:22 -0000 1.165
+++ tc-mips.c 8 Nov 2002 16:55:00 -0000
@@ -12749,5 +12749,5 @@ tc_gen_reloc (section, fixp)
/* newabi uses R_MIPS_GOT_DISP for local symbols */
- if (HAVE_NEWABI && BFD_RELOC_MIPS_GOT_LO16)
+ if (HAVE_NEWABI && fixp->fx_r_type == BFD_RELOC_MIPS_GOT_LO16)
{
fixp->fx_r_type = BFD_RELOC_MIPS_GOT_DISP;