diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s new file mode 100644 index 0000000..7e25bf4 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s @@ -0,0 +1,13 @@ + .abicalls + .option pic0 + .global __start + .ent __start +__start: + lui $2,%hi(obj1) + addiu $2,$2,%lo(obj1) + .end __start + .word obj2 + + .data + .word obj2 + .word obj3 |