diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2004-07-08 15:43:00 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2004-07-08 15:43:00 +0000 |
commit | 17a6716ad03a8b735c7b8afb36aa3b00665d6f34 (patch) | |
tree | d30d15f73bb7f01f360256d658a5963564d3670a /ld/testsuite/ld-mips-elf/reloc-merge-lo16.d | |
parent | 855bd88ab87f67a9ca044d6caabc004bc2a409c2 (diff) | |
download | binutils-17a6716ad03a8b735c7b8afb36aa3b00665d6f34.zip binutils-17a6716ad03a8b735c7b8afb36aa3b00665d6f34.tar.gz binutils-17a6716ad03a8b735c7b8afb36aa3b00665d6f34.tar.bz2 |
* ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test.
* ld-mips-elf/mips-elf.exp: Run it.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/reloc-merge-lo16.d')
-rw-r--r-- | ld/testsuite/ld-mips-elf/reloc-merge-lo16.d | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-merge-lo16.d b/ld/testsuite/ld-mips-elf/reloc-merge-lo16.d new file mode 100644 index 0000000..f6e7ef8 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/reloc-merge-lo16.d @@ -0,0 +1,16 @@ +#name: MIPS ELF lo16 merge +#source: reloc-merge-lo16.s +#ld: -Treloc-merge-lo16.ld +#objdump: -td --prefix-addresses --show-raw-insn + +# Test lo16 reloc calculation with string merging. + +.*: +file format .*mips.* +#... +0+80fe70 l .rodata 0+000000 g +0+400000 g F .text 0+000000 __start +#... +0+400000 <[^>]*> 3c020081 lui v0,0x81 +0+400004 <[^>]*> 2443fe70 addiu v1,v0,-400 +0+400008 <[^>]*> 2442fe70 addiu v0,v0,-400 + \.\.\. |