X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-5a.s;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-5a.s;h=7452f5e8e3ae838999337f55994655ae2ed9645c;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s new file mode 100644 index 0000000..7452f5e --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s @@ -0,0 +1,16 @@ + .abicalls + .option pic0 + .global __start + .ent __start +__start: + lui $2,%hi(foo) + addiu $2,$2,%lo(foo) + lui $2,%hi(obj1) + addiu $2,$2,%lo(obj1) + .end __start + + .data + .word foo + .word bar + .word obj1 + .word obj2