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: bogon in [PATCH] MIPS gas: irix relocation tweaks


> 	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;

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