]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-n32c.s
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
new file mode 100644 (file)
index 0000000..578626a
--- /dev/null
@@ -0,0 +1,25 @@
+       .abicalls
+       .option pic0
+       .set    noreorder
+       .global __start
+       .ent    __start
+__start:
+       jal     f1
+       nop
+       lui     $2,%hi(f2)
+       addiu   $2,$2,%lo(f2)
+       jal     extf3
+       nop
+       jal     extf4
+       nop
+       jal     extf5
+       nop
+       lui     $2,%hi(extd2)
+       addiu   $2,$2,%lo(extd2)
+       lui     $2,%hi(extd3)
+       addiu   $2,$2,%lo(extd3)
+       .end    __start
+
+       .data
+       .word   extd2
+       .word   extd4