gas failed "make check" on linux/mipsel

H. J. Lu hjl@lucon.org
Sat Sep 21 00:27:00 GMT 2002


On Thu, Sep 19, 2002 at 12:45:52PM -0700, Eric Christopher wrote:
> On Wed, 2002-09-18 at 22:37, H. J. Lu wrote:
> > Today's CVS, configured as
> > 
> > # .../configure  --target=mipsel-linux --enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,m68k-linux,mips-linux,mips64-linux,mips64el-linux,mipsel-linux,ppc-linux,sh-linux,s390-linux,s390x-linux,sparc-linux,sparc64-linux --prefix=/export/tools --with-local-prefix=/export/tools 
> > 
> > I got
> > 
> > ./gas/testsuite/gas.log:FAIL: MIPS branch-misc-2
> > ./gas/testsuite/gas.log:FAIL: MIPS empic
> > ./gas/testsuite/gas.log:FAIL: MIPS empic2
> > ./gas/testsuite/gas.log:FAIL: MIPS empic3 (global, negative)
> > ./gas/testsuite/gas.log:FAIL: MIPS empic3 (global, positive)
> > 
> 
> Thanks. Known right now. Fallout from Alan's rewrite. We're getting to
> them.
> 

With the patch enclosed here, I only got

FAIL: MIPS empic
FAIL: MIPS empic2
FAIL: MIPS empic3 (global, negative)
FAIL: MIPS empic3 (global, positive)

I have no idea if they are the testcase problems.


H.J.
-------------- next part --------------
2002-09-20  H.J. Lu <hjl@gnu.org>

	* config/tc-mips.c (mips_force_relocation): Don't force
	relocation for BFD_RELOC_16_PCREL.

--- gas/config/tc-mips.c.branch	Fri Sep 20 22:23:46 2002
+++ gas/config/tc-mips.c	Fri Sep 20 23:07:02 2002
@@ -10697,6 +10697,9 @@ int
 mips_force_relocation (fixp)
      fixS *fixp;
 {
+  if (fixp->fx_r_type == BFD_RELOC_16_PCREL)
+    return 0;
+
   if (fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT
       || fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY
       || S_FORCE_RELOC (fixp->fx_addsy))


More information about the Binutils mailing list