[PATCH 2/2] MIPS/GAS/testsuite: LD base register load tests (fwd)
Maciej W. Rozycki
macro@linux-mips.org
Sun Oct 17 19:24:00 GMT 2010
Hi,
[Richard, apologies for sending you this twice -- I have omitted the list
from the original submission by accident and the server is picky and does
not let messages with a correct Resent-To: header through. This also
means a new Message-ID: will have been allocated for this message making
this submission a separate thread. Please take care when responding.]
This is a set of test cases complementing the o32 LD to the base register
fix. Verified with mips-linux, mips64-linux, mipstx39-elf, mipsisa64-elf
and mips-ecoff targets and their little-endian counterparts. There is
some redundancy in these tests, especially where no base register is used
(or $zero is, to be exact), but I felt there's an added value of reduced
future maintenance effort this way.
2010-10-17 Maciej W. Rozycki <macro@linux-mips.org>
gas/testsuite/
* gas/mips/ld.s: Adjust to let the base register be chosen.
* gas/mips/ld-replace.d: New test.
* gas/mips/ecoff@ld-replace.d: Likewise, ECOFF version.
* gas/mips/mips1@ecoff@ld-replace.d: Likewise, MIPS I/ECOFF
version.
* gas/mips/r3000@ecoff@ld-replace.d: Likewise, R3000/ECOFF
version.
* gas/mips/r3900@ecoff@ld-replace.d: Likewise, R3900/ECOFF
version.
* gas/mips/mips2@ecoff@ld-replace.d: Likewise, MIPS II/ECOFF
version.
* gas/mips/mips32@ecoff@ld-replace.d: Likewise, MIPS32/ECOFF
version.
* gas/mips/mips32r2@ecoff@ld-replace.d: Likewise, MIPS32r2/ECOFF
version.
* gas/mips/ld-replace-forward.d: New test.
* gas/mips/ecoff@ld-replace-forward.d: Likewise, ECOFF version.
* gas/mips/mips1@ecoff@ld-replace-forward.d: Likewise,
MIPS I/ECOFF version.
* gas/mips/r3000@ecoff@ld-replace-forward.d: Likewise,
R3000/ECOFF version.
* gas/mips/r3900@ecoff@ld-replace-forward.d: Likewise,
R3900/ECOFF version.
* gas/mips/mips2@ecoff@ld-replace-forward.d: Likewise,
MIPS II/ECOFF version.
* gas/mips/mips32@ecoff@ld-replace-forward.d: Likewise,
MIPS32/ECOFF version.
* gas/mips/mips32r2@ecoff@ld-replace-forward.d: Likewise,
MIPS32r2/ECOFF version.
* gas/mips/ld-replace-n32.d: New test.
* gas/mips/ld-replace-n64.d: Likewise.
* gas/mips/ld-replace-forward-n32.d: Likewise.
* gas/mips/ld-replace-forward-n64.d: Likewise.
* gas/mips/mips.exp: Run the new tests.
OK?
Maciej
binutils-2.20.51-20100925-mips-gas-test-ld-replace.patch
[Patch attached compressed due to its size.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.20.51-20100925-mips-gas-test-ld-replace.patch.bz2
Type: application/x-bzip2
Size: 3785 bytes
Desc:
URL: <https://sourceware.org/pipermail/binutils/attachments/20101017/66edb25b/attachment.bz2>
More information about the Binutils
mailing list