diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-01-12 09:30:49 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-01-12 09:30:49 +0000 |
commit | 46a9a0362b78b34454b9ac9cb627292d2c40439d (patch) | |
tree | 6ac94a0f836b8e40d47706fa988d42a1c04ea933 /gas/testsuite/gas/mips/elf-rel18.s | |
parent | 58c5851168ac927b3bba7482d41f3c27705c4031 (diff) | |
download | binutils-redhat-46a9a0362b78b34454b9ac9cb627292d2c40439d.tar.gz |
gas/
* config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
reloc, reserve space for the delay slot as well as the jalr itself.
gas/testsuite/
* gas/mips/elf-rel18.[sd]: New test.
* gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/testsuite/gas/mips/elf-rel18.s')
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel18.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/elf-rel18.s b/gas/testsuite/gas/mips/elf-rel18.s new file mode 100644 index 0000000000..b019331945 --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel18.s @@ -0,0 +1,5 @@ + .rept 0x3b4 + nop + .endr + jal foo + jal foo |