summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d b/binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d
new file mode 100644
index 0000000..1ec51c5
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-mips-elf/reloc-3.d
@@ -0,0 +1,16 @@
+#name: R_MIPS16_GPREL reloc
+#source: ../../../gas/testsuite/gas/mips/elf-rel6.s
+#objdump: --prefix-addresses -tdr --show-raw-insn
+#ld: -Ttext 0x20000000 -e 0x20000000 -N
+
+.*: file format elf.*mips.*
+
+#...
+
+Disassembly of section \.text:
+0*20000000 <[^>]*> f010 8352 lb v0,-32750\(v1\)
+0*20000004 <[^>]*> f010 8353 lb v0,-32749\(v1\)
+0*20000008 <[^>]*> f252 8346 lb v0,-28090\(v1\)
+0*2000000c <[^>]*> 6500 nop
+0*2000000e <[^>]*> 6500 nop
+#pass