This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: new mips elf ld testsuite failure
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: cgd at broadcom dot com
- Cc: binutils at sources dot redhat dot com
- Date: 03 Jan 2003 11:07:38 +0000
- Subject: Re: new mips elf ld testsuite failure
- References: <yov5k7hnrvm3.fsf@broadcom.com>
cgd@broadcom.com writes:
> With the new ld tests, I just noticed:
>
> ./mipsisa32-elf/ld/ld.log:ERROR: -mabi=eabi -mgp64 /projects/bbp_ext13/systems/users/cgd/proj/gnu/write/binutils/src/ld/testsuite/ld-mips-elf/jr.s: assembly failed
>
Sorry about that. Patch below installed as obvious.
> The error reported by the assembler seems to make sense, but i'm not
> quite sure why this isn't a problem for other 32-bit MIPS targets...
It works for mips-elf and mipsel-elf because of the "from-abi" thing.
Richard
* ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
Index: ld/testsuite/ld-mips-elf/mips-elf-flags.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-mips-elf/mips-elf-flags.exp,v
retrieving revision 1.1
diff -u -d -p -F^[(a-zA-Z0-9_^#] -r1.1 mips-elf-flags.exp
--- ld/testsuite/ld-mips-elf/mips-elf-flags.exp 2 Jan 2003 21:31:32 -0000 1.1
+++ ld/testsuite/ld-mips-elf/mips-elf-flags.exp 3 Jan 2003 11:00:28 -0000
@@ -125,7 +125,7 @@ isa_conflict { "-march=sb1 -mgp32" "-mip
regsize_conflict { "-mips4 -mgp64" "-mips2" }
regsize_conflict { "-mips4 -mabi=o64" "-mips4 -mabi=32" }
-regsize_conflict { "-mabi=eabi -mgp32" "-mabi=eabi -mgp64" }
+regsize_conflict { "-mips4 -mabi=eabi -mgp32" "-mips4 -mabi=eabi -mgp64" }
regsize_conflict { "-march=vr5000 -mgp64" "-march=vr5000 -mgp32" }
regsize_conflict { "-mips32" "-mips64" }
regsize_conflict { "-mips32r2" "-mips64" }