From: aoliva Date: Mon, 18 Nov 2002 20:41:02 +0000 (+0000) Subject: * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=706ee4510f85eb0b178a493be423e50cd3c6f563;p=pf3gnuchains%2Fpf3gnuchains3x.git * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of GOT_LO16 on NEWABI. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a8a2c99499..2b74b6b4a2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-11-18 Alexandre Oliva , Chris Demetriou + + * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of + GOT_LO16 on NEWABI. + 2002-11-18 Svein E. Seldal * config/tc-tic4x.c: Fixed proper commandline diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 72177c1bd5..611e775283 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -13229,7 +13229,7 @@ tc_gen_reloc (section, fixp) abort (); /* 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; retval[1] = NULL;