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-n64c.s;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-6-n64c.s;h=578626a18caff6369a26edde4e091b0dfda97acc;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s new file mode 100644 index 0000000..578626a --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.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