X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-6-o32c.s;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-6-o32c.s;h=578626a18caff6369a26edde4e091b0dfda97acc;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s new file mode 100644 index 0000000..578626a --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s @@ -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